提交 bc5393a6 编写于 作者: T Thomas Gleixner 提交者: Linus Torvalds

[PATCH] NOHZ: Produce debug output instead of a BUG()

The BUG_ON() in tick_nohz_stop_sched_tick() triggers on some boxen.
Remove the BUG_ON and print information about the pending softirq
to allow better debugging of the problem.
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 6ba9b346
......@@ -165,7 +165,9 @@ void tick_nohz_stop_sched_tick(void)
goto end;
cpu = smp_processor_id();
BUG_ON(local_softirq_pending());
if (unlikely(local_softirq_pending()))
printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n",
local_softirq_pending());
now = ktime_get();
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册