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
8 #define OOM_ADJUST_MIN (-16)
9 #define OOM_ADJUST_MAX 15