[clug] to swap or not to swap that is the question

Michael Cohen michael.cohen at netspeed.com.au
Tue Jun 29 13:30:15 GMT 2004


Sam,

As far as I understand it kernel memory is never swapped - hence NFS code 
would never swap because it lives in kernel space. Only userland apps swap.

Michael.

On Tue, 29 Jun 2004 11:23 pm, Sam Couter wrote:
> Tony and Robyn Lewis <beakysnugger at yahoo.co.uk> wrote:
> > Do you mean using RAM to pretend to be a disk to pretend to be RAM.
>
> Once upon a time, people used to think about creating a swap file on an
> NFS mounted filesystem.
>
> Page fault leads to kernel wanting to swap something out. Needs to
> access NFS code/data to do so. NFS code/data is in swap already, so
> trying to access it generates another page fault. I think we can all see
> where this goes... Right to the funny little button on the front of the
> computer case.


More information about the linux mailing list