From: Johan Myreen (jem@sauna.cs.hut.fi)
Date: 11/16/91


Subject: Re: demand-loading, paging
From: Johan Myreen <jem@sauna.cs.hut.fi>
Date: Sat, 16 Nov 1991 20:09:51 EET


> As for demand-loaded executables... hmm. There are a couple of problems
> with this: the minix filesystem wasn't meant for it, and it would be
> MUCH easier to implement if BLOCK_SIZE was 4096 (= one page) instead of
> the current 1024.

One thing could be a problem with demand-loaded executables: finding
the page on disk means going through the file system, whereas paging
from a dedicated swapping partition could be a simpler and faster
operation. Admittedly, the first read must be done from the
executable, and demand loading from the file probably makes the load
process seem faster.

--
Johan Myreen
jem@cs.hut.fi