sched: don't dump sched debug info in SysRq-W
PATCH 1/1 sched: don't dump sched debug info in SysRq-W
From: Rabin Vincent <[email protected]>
sysrq_sched_debug_show() can dump a lot of information. Don't print out all that if we're just trying to get a list of blocked tasks (SysRq-W). The information is still accessible with SysRq-T.
Signed-off-by Rabin Vincent <[email protected]>
--- kernel/sched/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
kernel/sched/core.c +2 -1
@@ -4998,7 +4998,8 @@ void show_state_filter(unsigned long state_filter)touch_all_softlockup_watchdogs ();#ifdef CONFIG_SCHED_DEBUG -sysrq_sched_debug_show (); +if (!state_filter) +sysrq_sched_debug_show ();#endif rcu_read_unlock ();/*
Signature · 1 line
2.7.0
tip-bot for Rabin Vincent
merge bot[tip:sched/core] sched/debug: Don't dump sched debug info in SysRq-W
sched/debug: Don't dump sched debug info in SysRq-W
Commit-ID: fb90a6e93c0684ab2629a42462400603aa829b9c Gitweb: http://git.kernel.org/tip/fb90a6e93c0684ab2629a42462400603aa829b9c Author: Rabin Vincent <[email protected]> AuthorDate: Mon, 4 Apr 2016 15:42:02 +0200 Committer: Ingo Molnar <[email protected]> CommitDate: Wed, 13 Apr 2016 11:23:21 +0200
sched/debug: Don't dump sched debug info in SysRq-W
sysrq_sched_debug_show() can dump a lot of information. Don't print out all that if we're just trying to get a list of blocked tasks (SysRq-W). The information is still accessible with SysRq-T.
Signed-off-by Rabin Vincent <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Thomas Gleixner <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- kernel/sched/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
kernel/sched/core.c +2 -1
@@ -5050,7 +5050,8 @@ void show_state_filter(unsigned long state_filter)touch_all_softlockup_watchdogs ();#ifdef CONFIG_SCHED_DEBUG -sysrq_sched_debug_show (); +if (!state_filter) +sysrq_sched_debug_show ();#endif rcu_read_unlock ();/*