Re: Swap support

Dave Chavez
2002-04-22T13:38:27Z

Javier Sedano wrote:

> Harry Kalogirou wrote:
>
> '> Yesterday I commited to the CVS some experimental swap support code,
>
>>based on Alan's work on the subject. Ofcourse this code is not included
>>in the default configuration and is not for _actual_ use, since as I
>>said is experimental. Apart from that if you set the swap partition in
>>malloc.c you and enable swapping you can enjoy an 8086 system use
>>_virtual_ memory!
>>
>>
>
> Great!
>
> I've been looking for it in the code, and found nothing about it's
> configuration (setting the partition and the size, activating it...)...
> can someone (Harry, Alan) give us a few words about how to do so?
> And by the way... can you write a technical description about how is it
> done? The main problem with swap in minix was (is) that processes
> waiting for IO (waiting for a message from FS) can not be swapped in,
> because they would meet a deadlock when trying to swap out (for FS is
> needed again to do the swapping out, but it is frozen sending the
> message to the process, because FS is not reentrant/concurrent in
> minix)... and obviously processes waiting for IO are those best suited
> to be swapped in.
>
> Excuse my bad English... from memory to disk is "swap in" or "swap
> out"?

Your English is fine, and I'd say "swap out" indicates memory to disk.

Dave