Searched hist:"0215 f7d8c53fb192cd4491ede0ece5cca6b5db57" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/kernel/ |
H A D | time.c | diff 0215f7d8c53fb192cd4491ede0ece5cca6b5db57 Tue Jan 14 00:11:39 CST 2014 Benjamin Herrenschmidt <benh@kernel.crashing.org> powerpc: Fix races with irq_work
If we set irq_work on a processor and immediately afterward, before the irq work has a chance to be processed, we change the decrementer value, we can seriously delay the handling of that irq_work.
Fix it by checking in a few places for pending irq work, first before changing the decrementer in decrementer_set_next_event() and after changing it in the same function and in timer_interrupt().
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|