https://github.com/torvalds/linux
Raw File
Tip revision: 4942de4a0e914f205d351a81873f4f63986bcc3c authored by Linus Torvalds on 25 September 2007, 00:33:10 UTC
Linux 2.6.23-rc8
Tip revision: 4942de4
oom.h
#ifndef __INCLUDE_LINUX_OOM_H
#define __INCLUDE_LINUX_OOM_H

/* /proc/<pid>/oom_adj set to -17 protects from the oom-killer */
#define OOM_DISABLE (-17)
/* inclusive */
#define OOM_ADJUST_MIN (-16)
#define OOM_ADJUST_MAX 15

#endif
back to top