MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / linux / oom.h
blob9db10e413404139d443965281fa4afd48ec58f36
1 #ifndef __INCLUDE_LINUX_OOM_H
2 #define __INCLUDE_LINUX_OOM_H
4 /* /proc/<pid>/oom_adj set to -17 protects from the oom-killer */
5 #define OOM_DISABLE (-17)
6 #define OOM_DISABLE_NOINHERIT -18
7 /* inclusive */
8 #define OOM_ADJUST_MIN (-16)
9 #define OOM_ADJUST_MAX 15
11 #endif