diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-04-26 16:56:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-14 13:16:21 +0200 |
commit | a8bbdf1921fde7643eb22b508acc2fa0239021bf (patch) | |
tree | fa201929ca28f3cb2c52d7265061471c14557453 /arch/mips/Kconfig.debug | |
parent | e21ad4a956d4c70cea2a5086b9617bc8ddc8535a (diff) |
kvm: async_pf: fix rcu_irq_enter() with irqs enabled
commit bbaf0e2b1c1b4f88abd6ef49576f0efb1734eae5 upstream.
native_safe_halt enables interrupts, and you just shouldn't
call rcu_irq_enter() with interrupts enabled. Reorder the
call with the following local_irq_disable() to respect the
invariant.
Reported-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Wanpeng Li <wanpeng.li@hotmail.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions