Re: Swap

Nick LeRoy (nleroy@cs.wisc.edu)
Tue, 20 Nov 2001 10:12:32 -0600


On Tuesday 20 November 2001 10:01, Wolfgang Rohdewald wrote:
> On Tuesday 20 November 2001 15:51, J.A. Magallon wrote:
> > When a page is deleted for one executable (because we can re-read it from
> > on-disk binary), it is discarded, not paged out.
>
> What happens if the on-disk binary has changed since loading the program?

In general, you can't... You get a ETXTBSY 'text file busy' error. If you
try to do this over NFS (where the system can't stop you), the running image
will almost certainly crash if it tries to page in text.

-Nick
-
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/