[Devel] [PATCH RHEL7 COMMIT] oom: do not dump all tasks info on each oom kill
Vladimir Davydov
vdavydov at odin.com
Mon Sep 7 03:15:45 PDT 2015
The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-229.7.2.vz7.6.7
------>
commit 4c6ca842a16f63816407247a696360b77348a566
Author: Vladimir Davydov <vdavydov at parallels.com>
Date: Mon Sep 7 14:15:45 2015 +0400
oom: do not dump all tasks info on each oom kill
It will only spam dmesg on oom inside a container, so disable it by
default as it used to be in PCS6.
Signed-off-by: Vladimir Davydov <vdavydov at parallels.com>
Reviewed-by: Kirill Tkhai <ktkhai at odin.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 e5d0b8675f0c..5413a4413a3c 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;
static DEFINE_SPINLOCK(zone_scan_lock);
#ifdef CONFIG_NUMA
More information about the Devel
mailing list