Re: sticky bit on files?

From: Sandy Harris (sandy@storm.ca)
Date: Wed Jul 26 2000 - 11:34:03 EST


Marc Lehmann wrote:

> Linux does not have swap space (it does paging, which technically is not
> the same as swapping processes out), so the concept of the sticky bit
> makes no sense.

Sure it makes sense.

A program loads, runs and terminates. The OS of course recovers the
process' data space. If the bit is unset, it recovers the code space
as well.

If the bit is set, it should be keeping the program code in memory
(possibly paging it out, but that is irrelevant) unless/until it
has some other urgent need for that memory.

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



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:22 EST