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 |
---|---|---|
ChangeLog | -rw-r--r-- | 14.0 KB |
Kconfig | -rw-r--r-- | 917 bytes |
Makefile | -rw-r--r-- | 206 bytes |
TODO | -rw-r--r-- | 385 bytes |
befs.h | -rw-r--r-- | 3.0 KB |
befs_fs_types.h | -rw-r--r-- | 4.9 KB |
btree.c | -rw-r--r-- | 21.9 KB |
btree.h | -rw-r--r-- | 304 bytes |
datastream.c | -rw-r--r-- | 15.8 KB |
datastream.h | -rw-r--r-- | 536 bytes |
debug.c | -rw-r--r-- | 7.1 KB |
endian.h | -rw-r--r-- | 3.1 KB |
inode.c | -rw-r--r-- | 1.2 KB |
inode.h | -rw-r--r-- | 120 bytes |
io.c | -rw-r--r-- | 1.3 KB |
io.h | -rw-r--r-- | 110 bytes |
linuxvfs.c | -rw-r--r-- | 25.6 KB |
super.c | -rw-r--r-- | 3.3 KB |
super.h | -rw-r--r-- | 131 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...