diff options
author | Thomas Gleixner <[email protected]> | 2020-12-10 21:15:04 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-12-10 23:02:31 +0100 |
commit | 058df195c23403f91acc028e39ca2ad599d0af52 (patch) | |
tree | b23ca0a9a4da0a8aeb50ca4736eaea242b1a3b52 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 26ab12bb9d96133b7880141d68b5e01a8783de9d (diff) |
x86/ioapic: Cleanup the timer_works() irqflags mess
Mark tripped over the creative irqflags handling in the IO-APIC timer
delivery check which ends up doing:
local_irq_save(flags);
local_irq_enable();
local_irq_restore(flags);
which triggered a new consistency check he's working on required for
replacing the POPF based restore with a conditional STI.
That code is a historical mess and none of this is needed. Make it
straightforward use local_irq_disable()/enable() as that's all what is
required. It is invoked from interrupt enabled code nowadays.
Reported-by: Mark Rutland <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions