lkml.org 
[lkml]   [1999]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Questions regarding Linux swapping.
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [from the cache]
©2003-2011 Jasper Spaans