Re: [PATCH V1] oom: avoid selecting threads sharing mm with init

From: David Rientjes
Date: Tue Oct 01 2013 - 23:52:21 EST


On Fri, 27 Sep 2013, Ming Liu wrote:

> I might mislead you, when I talked about init, I meant the pid 1 process but
> not the idle, and isn't the idle a kthread and has not this risk getting
> killed by oom?

You can disqualify for p->mm == &init_mm, but the oom killer has been
rewritten since 2.6.27 so please post a log from a recent kernel that
exhibits the problem.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/