[Devel] [PATCH rh7] Revert "oom: Revert "oom: do not dump all tasks info on each oom kill""
Vladimir Davydov
vdavydov at virtuozzo.com
Tue Nov 10 03:37:40 PST 2015
This reverts commit ff7cacf5ce32fb0047e36875ba329b9f338a38f9.
This sysctl makes oom killer spit info about every task to dmesg, which
slows down berserker pace significantly. What is worse it might hang the
system if the console is slow. So disable it by default.
Signed-off-by: Vladimir Davydov <vdavydov at virtuozzo.com>
---
mm/oom_kill.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/oom_kill.c b/mm/oom_kill.c
index 71d88ad5a219..6d161541c1b2 100644
--- a/mm/oom_kill.c
+++ b/mm/oom_kill.c
@@ -41,7 +41,7 @@
int sysctl_panic_on_oom;
int sysctl_oom_kill_allocating_task;
-int sysctl_oom_dump_tasks = 1;
+int sysctl_oom_dump_tasks;
int sysctl_oom_relaxation = HZ;
static DEFINE_SPINLOCK(oom_context_lock);
--
2.1.4
More information about the Devel
mailing list