summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/oom.h
blob: a49c4afc70600d22ff904586cd41098a9e360e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _UAPI__INCLUDE_LINUX_OOM_H
#define _UAPI__INCLUDE_LINUX_OOM_H

/*
 * /proc/<pid>/oom_score_adj set to OOM_SCORE_ADJ_MIN disables oom killing for
 * pid.
 */
#define OOM_SCORE_ADJ_MIN	(-1000)
#define OOM_SCORE_ADJ_MAX	1000

#endif /* _UAPI__INCLUDE_LINUX_OOM_H */
OpenPOWER on IntegriCloud