If physical memory runs out on a Linux system, does it throw inactive executable code pages? I believe the answer is yes, because there is no reason to keep them in a swap, so they are simply discarded and reloaded if necessary (as far as I know, this is what FreeBSD does).
If this is true for Linux, my question is, how does it handle executable files launched from network file systems (e.g. NFS)? Does it do and retrieve executable pages over the network if there is a page error?
source
share