Revision a0cff57bb2a41cb9cbf13d3203097b4156d8c0ae authored by Davidlohr Bueso on 13 September 2017, 20:08:21 UTC, committed by Paolo Bonzini on 15 September 2017, 14:57:12 UTC
During code inspection, the following potential race was seen: CPU0 CPU1 kvm_async_pf_task_wait apf_task_wake_one [L] swait_active(&n->wq) [S] prepare_to_swait(&n.wq) [L] if (!hlist_unhahed(&n.link)) schedule() [S] hlist_del_init(&n->link); Properly serialize swait_active() checks such that a wakeup is not missed. Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent cc1b468
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 4.4 KB |
Makefile | -rw-r--r-- | 1.1 KB |
bcm-ocotp.c | -rw-r--r-- | 8.2 KB |
core.c | -rw-r--r-- | 28.1 KB |
imx-iim.c | -rw-r--r-- | 3.7 KB |
imx-ocotp.c | -rw-r--r-- | 10.8 KB |
lpc18xx_eeprom.c | -rw-r--r-- | 7.2 KB |
lpc18xx_otp.c | -rw-r--r-- | 3.2 KB |
meson-efuse.c | -rw-r--r-- | 2.2 KB |
mtk-efuse.c | -rw-r--r-- | 2.9 KB |
mxs-ocotp.c | -rw-r--r-- | 4.7 KB |
qfprom.c | -rw-r--r-- | 2.5 KB |
rockchip-efuse.c | -rw-r--r-- | 6.4 KB |
sunxi_sid.c | -rw-r--r-- | 5.6 KB |
vf610-ocotp.c | -rw-r--r-- | 6.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...