oom.h 232 B

12345678910
  1. #ifndef __INCLUDE_LINUX_OOM_H
  2. #define __INCLUDE_LINUX_OOM_H
  3. /* /proc/<pid>/oom_adj set to -17 protects from the oom-killer */
  4. #define OOM_DISABLE (-17)
  5. /* inclusive */
  6. #define OOM_ADJUST_MIN (-16)
  7. #define OOM_ADJUST_MAX 15
  8. #endif