[Devel] [PATCH RHEL COMMIT] oom: do not dump all tasks info on each oom kill
Konstantin Khorenko
khorenko at virtuozzo.com
Fri Sep 24 15:04:54 MSK 2021
The commit is pushed to "branch-rh9-5.14.vz9.1.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after ark-5.14
------>
commit 202050bdb30278a748eb2d8a0f08fea10843f320
Author: Vladimir Davydov <vdavydov.dev at gmail.com>
Date: Fri Sep 24 15:04:54 2021 +0300
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>
(cherry picked from vz8 commit 34a56ac2c3bd06751e83f66d9ac2e9f13cc2515a)
Signed-off-by: Andrey Zhadchenko <andrey.zhadchenko 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 33577638a304..900ffef32a93 100644
--- a/mm/oom_kill.c
+++ b/mm/oom_kill.c
@@ -54,7 +54,7 @@
int sysctl_panic_on_oom;
int sysctl_oom_kill_allocating_task;
-int sysctl_oom_dump_tasks = 1;
+int sysctl_oom_dump_tasks;
/*
* Serializes oom killer invocations (out_of_memory()) from all contexts to
More information about the Devel
mailing list