https://github.com/torvalds/linux
Raw File
Tip revision: 80c218812786f619c9a1ce50d0e7c32c7afde4de authored by Linus Torvalds on 08 November 2006, 02:24:20 UTC
Linux 2.6.19-rc5
Tip revision: 80c2188
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