Messages in this thread | | | Date | Fri, 10 Nov 2000 09:46:43 -0500 (EST) | From | Alexander Viro <> | Subject | Re: [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/
| |