Limit number of sched debug messages while system is BOOTING. Cc: Peter Zijlstra Cc: linux-kernel@vger.kernel.org Signed-off-by: Mike Travis --- kernel/sched.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- linux.orig/kernel/sched.c +++ linux/kernel/sched.c @@ -8003,7 +8003,9 @@ sd->child = NULL; } - sched_domain_debug(sd, cpu); + if (cpu < 2 || system_state != SYSTEM_BOOTING || + !limit_console_output(false)) + sched_domain_debug(sd, cpu); rq_attach_root(rq, rd); rcu_assign_pointer(rq->sd, sd); -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/