[Devel] [PATCH RHEL7 COMMIT] Revert "oom: Revert "oom: do not dump all tasks info on each oom kill""
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Nov 10 06:07:25 PST 2015
The commit is pushed to "branch-rh7-3.10.0-229.7.2.vz7.9.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-229.7.2.vz7.9.7
------>
commit c065e5384402a807cbac24ef3fad225737840335
Author: Vladimir Davydov <vdavydov at virtuozzo.com>
Date: Tue Nov 10 18:07:24 2015 +0400
Revert "oom: Revert "oom: do not dump all tasks info on each oom kill""
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 76cc927..194dc3c 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);
More information about the Devel
mailing list