[PATCH] oom: swapoff tasks tweak
authorNick Piggin <npiggin@suse.de>
Tue, 26 Sep 2006 06:31:31 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:49 +0000 (08:48 -0700)
commitaf5b912435de32fbede08cee949429823ed49781
treeea1de1a800c6fc60537912d4dad35a3cf211c86e
parent4a3ede107e422a0c53d28024b0aa902ca22a8768
[PATCH] oom: swapoff tasks tweak

PF_SWAPOFF processes currently cause select_bad_process to return straight
away.  Instead, give them high priority, so we will kill them first, however
we also first ensure no parallel OOM kills are happening at the same time.

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