Re: [PATCH] oom_nice

From: Alexander Viro (viro@math.psu.edu)
Date: Fri Nov 10 2000 - 09:46:43 EST


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/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:16 EST