lkml.org 
[lkml]   [2009]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [take3] OOM documentation update [was: Linux killed Kenny, bastard!]
On Wed, Jan 14, 2009 at 04:58:41PM -0800, David Rientjes (rientjes@google.com) wrote:
> > +
> > +The task with the highest badness score is then killed.
> > +
>
> Not quite, even after a task is selected for oom kill, the oom killer
> still prefers to kill one of its children first if any have a different
> mm. See oom_kill_process().

Ok, if it was not clear from the description.

> You also don't mention the exception of OOM_DISABLE (oom_adj score of -17)
> in your formula for how oom_adj impacts the points value. Although its
> already explained earlier, it should be mentioned here since a oom_adj is
> an int and a right shift of 17 does not guarantee `points' will be 0.

It is written several lines above.

--
Evgeniy Polyakov


\
 
 \ /
  Last update: 2009-01-15 09:55    [W:3.192 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site