oom: move constraints to enum
authorDavid Rientjes <rientjes@google.com>
Wed, 17 Oct 2007 06:25:53 +0000 (23:25 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:45 +0000 (08:42 -0700)
commit70e24bdf6d2fead14631e72a07fba012400c521e
tree2c00056dfdf90f733876c717159bb8bbf9f440fe
parent5a3135c2e77fe88cdea20b5e3f4761068b799ac2
oom: move constraints to enum

The OOM killer's CONSTRAINT definitions are really more appropriate in an
enum, so define them in include/linux/oom.h.

Cc: Andrea Arcangeli <andrea@suse.de>
Acked-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/oom.h
mm/oom_kill.c