xref: /linux/include/uapi/linux/oom.h (revision 607ca46e97a1b6594b29647d98a32d545c24bdff)
1*607ca46eSDavid Howells #ifndef _UAPI__INCLUDE_LINUX_OOM_H
2*607ca46eSDavid Howells #define _UAPI__INCLUDE_LINUX_OOM_H
3*607ca46eSDavid Howells 
4*607ca46eSDavid Howells /*
5*607ca46eSDavid Howells  * /proc/<pid>/oom_score_adj set to OOM_SCORE_ADJ_MIN disables oom killing for
6*607ca46eSDavid Howells  * pid.
7*607ca46eSDavid Howells  */
8*607ca46eSDavid Howells #define OOM_SCORE_ADJ_MIN	(-1000)
9*607ca46eSDavid Howells #define OOM_SCORE_ADJ_MAX	1000
10*607ca46eSDavid Howells 
11*607ca46eSDavid Howells #endif /* _UAPI__INCLUDE_LINUX_OOM_H */
12