| Alexey Dobriyan | 8ac773b | 2006-10-19 23:28:32 -0700 | [diff] [blame] | 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 | ||||