diff options
author | Davidlohr Bueso <dave@gnu.org> | 2012-10-08 16:29:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-09 16:22:24 +0900 |
commit | 01dc52ebdf472f77cca623ca693ca24cfc0f1bbe (patch) | |
tree | 2d0f35f2aff418d52a84fb50974ad3bacf68d4bd /include/linux/oom.h | |
parent | d5dc0ad928fb9e972001e552597fd0b794863f34 (diff) | |
download | op-kernel-dev-01dc52ebdf472f77cca623ca693ca24cfc0f1bbe.zip op-kernel-dev-01dc52ebdf472f77cca623ca693ca24cfc0f1bbe.tar.gz |
oom: remove deprecated oom_adj
The deprecated /proc/<pid>/oom_adj is scheduled for removal this month.
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Acked-by: David Rientjes <rientjes@google.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/oom.h')
-rw-r--r-- | include/linux/oom.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/oom.h b/include/linux/oom.h index 49a3031..d36a822 100644 --- a/include/linux/oom.h +++ b/include/linux/oom.h @@ -2,17 +2,6 @@ #define __INCLUDE_LINUX_OOM_H /* - * /proc/<pid>/oom_adj is deprecated, see - * Documentation/feature-removal-schedule.txt. - * - * /proc/<pid>/oom_adj set to -17 protects from the oom-killer - */ -#define OOM_DISABLE (-17) -/* inclusive */ -#define OOM_ADJUST_MIN (-16) -#define OOM_ADJUST_MAX 15 - -/* * /proc/<pid>/oom_score_adj set to OOM_SCORE_ADJ_MIN disables oom killing for * pid. */ |