Re: Questions regarding Linux swapping.

Mike A. Harris (mharris@meteng.on.ca)
Tue, 3 Aug 1999 00:53:32 -0400 (EDT)


On Tue, 3 Aug 1999, Dominik Kubla wrote:

>> How about the opposite? Disallow programs to swap. After having a program
>> go nuts and eat all the memory (assuming one would be at the keyboard), they
>> could implement a sysrq key to disable further swapping. (sorta emulate
>> swap being full)
>
>Well there used to be a Unix way of doing this:
>Setting the 1000 flag on binaries used to lock them in memory. But that is not
>implemented in Linux.

Is this not what the sticky bit does on files?

--
Mike A. Harris                   Linux advocate      GNU advocate
Computer Consultant                          Open Source advocate  

Tea, Earl Grey, Hot...

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