]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] oom: less memdie
authorNick Piggin <npiggin@suse.de>
Thu, 7 Dec 2006 04:31:52 +0000 (20:31 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:20 +0000 (08:39 -0800)
commitf2a2a7108aa0039ba7a5fe7a0d2ecef2219a7584
treea82338b774d680ca410830e94c1125fa3b9b693d
parentf3af38d30c18538d069a95e624a3db7c3d486a1e
[PATCH] oom: less memdie

Don't cause all threads in all other thread groups to gain TIF_MEMDIE
otherwise we'll get a thundering herd eating our memory reserve.  This may not
be the optimal scheme, but it fits our policy of allowing just one TIF_MEMDIE
in the system at once.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/oom_kill.c