diff options
author | Thomas Gleixner <[email protected]> | 2017-06-20 01:37:20 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-06-22 18:21:13 +0200 |
commit | 8e7b632237df8b17526411d1d98f838580bb6aa3 (patch) | |
tree | 6f2b4b78b13dcd94c62f45c415bea92751240dcf /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | cdd16365b0bd7c0cd19e2cc768b6bdc8021f32c3 (diff) |
x86/irq: Cleanup pending irq move in fixup_irqs()
If an CPU goes offline, the interrupts are migrated away, but a eventually
pending interrupt move, which has not yet been made effective is kept
pending even if the outgoing CPU is the sole target of the pending affinity
mask. What's worse is, that the pending affinity mask is discarded even if
it would contain a valid subset of the online CPUs.
Use the newly introduced helper to:
- Discard a pending move when the outgoing CPU is the only target in the
pending mask.
- Use the pending mask instead of the affinity mask to find a valid target
for the CPU if the pending mask intersects with the online CPUs.
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Keith Busch <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions