https://github.com/torvalds/linux
Raw File
Tip revision: d4ac2477fad0f2680e84ec12e387ce67682c5c13 authored by Linus Torvalds on 04 August 2007, 02:49:55 UTC
Linux 2.6.23-rc2
Tip revision: d4ac247
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