https://github.com/torvalds/linux
Raw File
Tip revision: a38d6181ff27824c79fc7df825164a212eff6a3f authored by Linus Torvalds on 01 July 2007, 19:54:24 UTC
Linux 2.6.22-rc7
Tip revision: a38d618
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