]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit6b0da582d723b00ec23c23b05147b6cff5950840
treeea1de1a800c6fc60537912d4dad35a3cf211c86e
parent36136725d0e89003f87fbb612aa5001f25bd7835
[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