diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-05-07 15:35:59 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-05-07 17:15:50 +0300 |
commit | 6b442bc81337913eb775965a67ffdb8a36935422 (patch) | |
tree | c98932b4f91567c23eb77bb6596a0d1fa5207036 /sound/drivers | |
parent | 38d23a6cc16c02f7b0c920266053f340b5601735 (diff) | |
download | linux-6b442bc81337913eb775965a67ffdb8a36935422.tar.xz |
nohz: Fix !HIGH_RES_TIMERS hang
Simon Horman reported this crash on a system with
high-res timers disabled but nohz enabled:
> ------------[ cut here ]------------
> kernel BUG at kernel/irq_work.c:135!
BUG_ON(!irqs_disabled());
So something enabled interrupts in the periodic tick handling machinery,
and that code path indeed has a local_irq_disable()/enable pair in
tick_nohz_switch_to_nohz() which causes havoc. Fix it.
This patch also fixes a +nohz -hrtimers hang reported by Ingo Molnar.
Reported-by: Simon Horman <horms@verge.net.au>
Reported-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: LAK <linux-arm-kernel@lists.infradead.org>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/alpine.DEB.2.11.1505071425520.4225@nanos
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions