Thread View: comp.sys.next.software
1 messages
1 total messages
Started by Chris Paris
Tue, 11 Aug 1992 10:04
sticky bit (was: RAMDISK . . .)
Author: Chris Paris
Date: Tue, 11 Aug 1992 10:04
Date: Tue, 11 Aug 1992 10:04
19 lines
1217 bytes
1217 bytes
Someone mentioned the sticky bit as a way to lock a program into ram. The
sticky bit will in fact only keep an executable in swap space, and not in
ram. Also, it applies only to the text (code) segment of the program. Do a
man 8 sticky and you'll see the following:
STICKY TEXT EXECUTABLE FILES
While the `sticky bit' is set on a sharable executable file,
the text of that file will not be removed from the system
swap area. Thus the file does not have to be fetched from
the file system upon each execution. Shareable text seg-
ments are normally placed in a least-frequently-used cache
after use, and thus the `sticky bit' has little effect on
commonly-used text images.
Just a friendly clarification. :-)
--
Chris Paris
cap+@cmu.edu (NeXT mail)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads