Re: [patch] oom: kill all threads that share mm with killed task

From: David Rientjes
Date: Tue Apr 24 2007 - 02:01:37 EST


On Mon, 23 Apr 2007, Christoph Lameter wrote:

> Obvious fix. It was broken by
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=f2a2a7108aa0039ba7a5fe7a0d2ecef2219a7584
> Dec 7. So its in 2.6.20 and later. Candiate for stable?
>

I agree it's obvious enough that it should be included in stable.
Otherwise the entire iteration becomes a big no-op and it won't alleviate
the OOM condition in one call to out_of_memory() because there may be
outstanding tasks with the shared ->mm.

David
-
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/