[PATCH] oom-killer disable for iscsi/lvm2/multipath userland critical sections
[deliverable/linux.git] / include / linux / mm.h
index 6a931374d6c4975b89cecf5ffa6d6321b9f4eb8a..85f7d1bea937543327890cdd21be0ed967db416c 100644 (file)
@@ -857,5 +857,8 @@ int in_gate_area_no_task(unsigned long addr);
 #define in_gate_area(task, addr) ({(void)task; in_gate_area_no_task(addr);})
 #endif /* __HAVE_ARCH_GATE_AREA */
 
+/* /proc/<pid>/oom_adj set to -17 protects from the oom-killer */
+#define OOM_DISABLE -17
+
 #endif /* __KERNEL__ */
 #endif /* _LINUX_MM_H */
This page took 0.028591 seconds and 5 git commands to generate.