[PATCH] Optimise oom kill of current task
authorKirill Korotaev <dev@sw.ru>
Sun, 8 Jan 2006 09:01:05 +0000 (01:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:12:45 +0000 (20:12 -0800)
commit2f659f462d2ab519068d0e2bb677d7a700decb8d
treede65a0b6151880ef5d0b06efd949e32629a2dfd5
parent6ce3c4c0ff62ca6391019b7832fb41a7f28b9e26
[PATCH] Optimise oom kill of current task

When oom_killer kills current there's no need to call
schedule_timeout_interruptible() since task must die ASAP.

Signed-Off-By: Pavel Emelianov <xemul@sw.ru>
Signed-Off-By: Kirill Korotaev <dev@openvz.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/oom_kill.c