]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - include/linux/oom.h
[PATCH] OOM killer meets userspace headers
[mirror_ubuntu-eoan-kernel.git] / include / linux / oom.h
CommitLineData
8ac773b4
AD
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