[Devel] [PATCH rh7] sched: disable dumping cfs info on sysrq trigger

Vladimir Davydov vdavydov at virtuozzo.com
Tue Nov 10 03:38:38 PST 2015


This results in soft lockups, because it writes too much data to
console. At the same time information it shows is only useful for sched
debugging and can be obtained via /proc/sched_debug anyway. Besides, it
is disabled in PCS6. So disable it in vz7 either.

https://jira.sw.ru/browse/PSBM-41140

Signed-off-by: Vladimir Davydov <vdavydov at virtuozzo.com>
---
 kernel/sched/core.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 07f10904d504..581bfd019794 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -5121,7 +5121,13 @@ void show_state_filter(unsigned long state_filter)
 
 	touch_all_softlockup_watchdogs();
 
-#ifdef CONFIG_SCHED_DEBUG
+#if 0
+	/*
+	 * This results in soft lockups, because it writes too much data to
+	 * console. At the same time information it shows is only useful for
+	 * sched debugging and can be obtained via /proc/sched_debug anyway.
+	 * So disable it.
+	 */
 	sysrq_sched_debug_show();
 #endif
 	rcu_read_unlock();
-- 
2.1.4



More information about the Devel mailing list