[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090115085144.GC29586@ioremap.net>
Date: Thu, 15 Jan 2009 11:51:44 +0300
From: Evgeniy Polyakov <zbr@...emap.net>
To: David Rientjes <rientjes@...gle.com>
Cc: linux-kernel@...r.kernel.org, Bryan Donlan <bdonlan@...il.com>,
Balbir Singh <balbir@...ux.vnet.ibm.com>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Dave Jones <davej@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Theodore Tso <tytso@....edu>,
Matthias Andree <matthias.andree@....de>,
Randy Dunlap <randy.dunlap@...cle.com>
Subject: Re: [take3] OOM documentation update [was: Linux killed Kenny, bastard!]
On Wed, Jan 14, 2009 at 04:58:41PM -0800, David Rientjes (rientjes@...gle.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists