diff options
author | 2020-09-15 21:46:45 +1000 | |
---|---|---|
committer | 2020-10-06 23:22:23 +1100 | |
commit | 903fd31d3212ab72d564c68f6cfb5d04db68773e (patch) | |
tree | 0b5c217be7466699a323f107ffa04590f728e7ec /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/pseries: add new branch prediction security bits for link stack (diff) | |
download | wireguard-linux-903fd31d3212ab72d564c68f6cfb5d04db68773e.tar.xz wireguard-linux-903fd31d3212ab72d564c68f6cfb5d04db68773e.zip |
powerpc/64: fix irq replay missing preempt
Prior to commit 3282a3da25bd ("powerpc/64: Implement soft interrupt
replay in C"), replayed interrupts returned by the regular interrupt
exit code, which performs preemption in case an interrupt had set
need_resched.
This logic was missed by the conversion. Adding preempt_disable/enable
around the interrupt replay and final irq enable will reschedule if
needed.
Fixes: 3282a3da25bd ("powerpc/64: Implement soft interrupt replay in C")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200915114650.3980244-1-npiggin@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions