diff options
| author | Xiao Guangrong <[email protected]> | 2010-11-01 17:03:44 +0800 |
|---|---|---|
| committer | Avi Kivity <[email protected]> | 2011-01-12 11:29:03 +0200 |
| commit | 64f638c7c44fa87e65f51eaf0f8302b9cba2d696 (patch) | |
| tree | 8aff59c0397f9231f5889d21b682a7a76e7dc66d /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 15096ffceabb9693306982127348890886384aaa (diff) | |
KVM: fix the race while wakeup all pv guest
In kvm_async_pf_wakeup_all(), we add a dummy apf to vcpu->async_pf.done
without holding vcpu->async_pf.lock, it will break if we are handling apfs
at this time.
Also use 'list_empty_careful()' instead of 'list_empty()'
Signed-off-by: Xiao Guangrong <[email protected]>
Acked-by: Gleb Natapov <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions