-
Nikolay Borisov authored
local_irq_disable provides stronger guarantees than preempt_disable so calling the latter is redundant when interrupts are disabled. Instead, explicitly disable preemption right before interrupts are enabled/disabled to ensure that the time accounted in guest_timing_exit_irqoff includes time taken by the guest or interrupts. Signed-off-by:
Nikolay Borisov <nborisov@suse.com> Signed-off-by:
Anup Patel <anup@brainfault.org>
fe283e5f