https://github.com/torvalds/linux
Raw File
Tip revision: c8f71b01a50597e298dc3214a2f2be7b8d31170c authored by Linus Torvalds on 21 February 2007, 04:32:30 UTC
Linux 2.6.21-rc1
Tip revision: c8f71b0
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