Re: Questions regarding Linux swapping.

Wakko Warner (wakko@animx.eu.org)
Mon, 2 Aug 1999 12:57:00 -0400


> Is there a way to tell the kernel to swap certain programs?
>
> I know that sounds weird... but there are many things I have loaded
> that don't get used continously. Inetd isn't always the answer...
>
> After running for a while, most usually end up in swap anyway, but it
> would be convenient to be able to tell the kernel to swap most of certain
> processes so the additional ram could be used for cache that much
> sooner...

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)

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals

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