xref: /linux-6.15/include/linux/oom.h (revision eb2bce7f)
1 #ifndef __INCLUDE_LINUX_OOM_H
2 #define __INCLUDE_LINUX_OOM_H
3 
4 /* /proc/<pid>/oom_adj set to -17 protects from the oom-killer */
5 #define OOM_DISABLE (-17)
6 /* inclusive */
7 #define OOM_ADJUST_MIN (-16)
8 #define OOM_ADJUST_MAX 15
9 
10 #endif
11