July 2025 | ||||||
Mo | Tu | We | Th | Fr | Sa | Su |
30 | 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 | 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 |
01: #ifndef __INCLUDE_LINUX_OOM_H 02: #define __INCLUDE_LINUX_OOM_H 03: 04: /* 05: * /proc/<pid>/oom_adj is deprecated, see 06: * Documentation/feature-removal-schedule.txt. 07: * 08: * /proc/<pid>/oom_adj set to -17 protects from the oom-killer 09: */ 10: #define OOM_DISABLE (-17) 11: /* inclusive */ 12: #define OOM_ADJUST_MIN (-16) 13: #define OOM_ADJUST_MAX 15 14: 15: /* 16: * /proc/<pid>/oom_score_adj set to OOM_SCORE_ADJ_MIN disables oom killing for 17: * pid. 18: */ 19: #define OOM_SCORE_ADJ_MIN (-1000) 20: #define OOM_SCORE_ADJ_MAX 1000 21: 22: #endif /* _INCLUDE_LINUX_OOM_H */ 23: