Re: Simple OOM kill protection interface

2006-12-07 Thread Alan
On Thu, 7 Dec 2006 17:50:55 +0200 "Menny Hamburger" <[EMAIL PROTECTED]> wrote: > Hi, > > Following is a rather simple module implementation that adds an interface for > protecting against the oom_killer by setting the oomkilladj in the task > struct. NAK you can adjust it via the /proc entry

Re: Simple OOM kill protection interface

2006-12-07 Thread Peter Zijlstra
On Thu, 2006-12-07 at 17:50 +0200, Menny Hamburger wrote: > Hi, > > Following is a rather simple module implementation that adds an interface for > protecting against the oom_killer by setting the oomkilladj in the task > struct. > There are two interfaces: > 1) /proc interface (/proc/oom_kill

Simple OOM kill protection interface

2006-12-07 Thread Menny Hamburger
Hi, Following is a rather simple module implementation that adds an interface for protecting against the oom_killer by setting the oomkilladj in the task struct. + #include #include #include #incl