aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <[email protected]>2017-09-13 20:08:24 +0000
committerPaolo Bonzini <[email protected]>2017-09-15 14:57:13 +0000
commit4c0b4bc60f95de4741c89b41174760258343f091 (patch)
tree60a9e39653ad9d755c962633f8ea63c4b88f76f1 /drivers/net/xen-netback/interface.c
parentkvm,powerpc: Serialize wq active checks in ops->vcpu_kick (diff)
downloadkernel-4c0b4bc60f95de4741c89b41174760258343f091.tar.gz
kernel-4c0b4bc60f95de4741c89b41174760258343f091.zip
kvm,mips: Fix potential swait_active() races
For example, the following could occur, making us miss a wakeup: CPU0 CPU1 kvm_vcpu_block kvm_mips_comparecount_func [L] swait_active(&vcpu->wq) [S] prepare_to_swait(&vcpu->wq) [L] if (!kvm_vcpu_has_pending_timer(vcpu)) schedule() [S] queue_timer_int(vcpu) Ensure that the swait_active() check is not hoisted over the interrupt. Signed-off-by: Davidlohr Bueso <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions