Re: [PATCH] move SWAP option in menu

Alan Cox (alan@lxorguk.ukuu.org.uk)
06 Mar 2003 21:06:49 +0000


On Thu, 2003-03-06 at 19:33, Gabriel Paubert wrote:
> I'd be very surprised if it were possible to have swap on a MMU-less
> machine (no virtual memory, page faults, etc.). Except for this nitpick,
> the patch looks fine, but my knowledge of MM is close to zero (and
> also of the new config language, but I'll have to learn it soon).

You can, and people have had swapping long before virtual memory. Most
ucLinux platforms can't swap because they can't dynamically relocate code.
Linux 8086 can swap because it can use CS/DS updates to relocate code/data.

The way it worked on older systems is that you never run a program which
isnt entirely in memory. With that constraint you know it won't suddenely
want data you don't have

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/