Linux: page faults and network filesystems

Posted by Alex B on Stack Overflow See other posts from Stack Overflow or by Alex B
Published on 2010-06-14T00:22:08Z Indexed on 2010/06/14 0:32 UTC
Read the original article Hit count: 512

Filed under:
|

If a Linux system runs out of physical memory, does it drop inactive executable code pages? I assume the answer is yes, since there is no reason to keep them in swap, so they are simply discarded and re-loaded if necessary (as far as I know, that's what FreeBSD does).

If the above is true for Linux, my question is, how does it handle executables run from network filesystems (e.g. NFS)? Does it go and fetch executable pages over the network if there is a page fault?

© Stack Overflow or respective owner

Related posts about linux

Related posts about virtual-memory