lkml.org 
[lkml]   [2000]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] oom_nice


On Fri, 10 Nov 2000, Chris Swiedler wrote:

> Here's an updated version of the "oom_nice" patch. It allows a sysadmin to
> set the "oom niceness" for processes, either by PID or by process name. The
> oom niceness value factors into the badness() function called by Rik's
> OOM killer. Negative values decrease the chance that the process will be
> killed, and positive values increase it.
>
> The usage is:
>
> echo [PID|process_name]=oom_niceness > /proc/sys/vm/oom_nice

Please, _not_ in /proc/sys. It's for sysctls and let's keep it that way.
BTW, what's wrong with /proc/<pid>/oom_nice?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.026 / U:2.616 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site