Re: Questions regarding Linux swapping.

Dominik Kubla (dominik.kubla@uni-mainz.de)
Tue, 3 Aug 1999 00:08:15 +0200


On Mon, Aug 02, 1999 at 12:57:00PM -0400, Wakko Warner 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.

Yours,
Dominik Kubla

-- 
"Drug misuse is not a disease, it is a decision, like the decision to step
out in front of a moving car.  You would call that not a disease but an
error of judgment." --Philip K. Dick. "Author's Note," A SCANNER DARKLY, 1977

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