[PATCH] oom-killer disable for iscsi/lvm2/multipath userland critical sections
authorAndrea Arcangeli <andrea@suse.de>
Sat, 16 Apr 2005 22:24:05 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:24:05 +0000 (15:24 -0700)
commit79befd0c08c4766f8fa27e37ac2a70e40840a56a
treed0600c289b1a54902e3b78eec0729dc7011569a3
parentd345734267dbec642f4e34a9d392d2fd85b5fa9b
[PATCH] oom-killer disable for iscsi/lvm2/multipath userland critical sections

iscsi/lvm2/multipath needs guaranteed protection from the oom-killer, so
make the magical value of -17 in /proc/<pid>/oom_adj defeat the oom-killer
altogether.

(akpm: we still need to document oom_adj and friends in
Documentation/filesystems/proc.txt!)

Signed-off-by: Andrea Arcangeli <andrea@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/proc/base.c
include/linux/mm.h
mm/oom_kill.c