diff options
Diffstat (limited to 'uclibc-crosstools-gcc-4.4.2-1/usr/include/linux/oom.h')
-rw-r--r-- | uclibc-crosstools-gcc-4.4.2-1/usr/include/linux/oom.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/uclibc-crosstools-gcc-4.4.2-1/usr/include/linux/oom.h b/uclibc-crosstools-gcc-4.4.2-1/usr/include/linux/oom.h new file mode 100644 index 0000000..d7727b8 --- /dev/null +++ b/uclibc-crosstools-gcc-4.4.2-1/usr/include/linux/oom.h @@ -0,0 +1,10 @@ +#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 /* _INCLUDE_LINUX_OOM_H */ |