From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Chavez Subject: Re: Swap support Date: Mon, 22 Apr 2002 09:38:27 -0400 Sender: linux-8086-owner@vger.kernel.org Message-ID: <3CC41253.20600@iona.com> References: <1019465227.5698.58.camel@cool> <3CC4132C.3807ECC@dit.upm.es> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Javier Sedano Cc: Linux-8086 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