diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-01-14 17:11:39 +1100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-01-15 13:59:03 +1100 |
commit | 0215f7d8c53fb192cd4491ede0ece5cca6b5db57 (patch) | |
tree | 3c72b3f85caf97ec9a2d42367a32a06df5623e1a /arch/powerpc/math-emu | |
parent | 30c826358d10c1d6f8147de3310b97488daec830 (diff) | |
download | linux-0215f7d8c53fb192cd4491ede0ece5cca6b5db57.tar.gz linux-0215f7d8c53fb192cd4491ede0ece5cca6b5db57.tar.bz2 linux-0215f7d8c53fb192cd4491ede0ece5cca6b5db57.zip |
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>
Diffstat (limited to 'arch/powerpc/math-emu')
0 files changed, 0 insertions, 0 deletions