Messages in this thread | | | Date | Thu, 15 Jan 2009 11:51:44 +0300 | From | Evgeniy Polyakov <> | Subject | Re: [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
| |