diff options
author | 2013-06-03 11:30:02 +0300 | |
---|---|---|
committer | 2013-06-03 11:32:39 +0300 | |
commit | 299018f44ac553dce3caf84df1d14c4764faa279 (patch) | |
tree | 75c178b1c2767697e2bef132aea84a8c04c1b156 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | KVM: fix sil/dil/bpl/spl in the mod/rm fields (diff) | |
download | linux-dev-299018f44ac553dce3caf84df1d14c4764faa279.tar.xz linux-dev-299018f44ac553dce3caf84df1d14c4764faa279.zip |
KVM: Fix race in apic->pending_events processing
apic->pending_events processing has a race that may cause INIT and
SIPI
processing to be reordered:
vpu0: vcpu1:
set INIT
test_and_clear_bit(KVM_APIC_INIT)
process INIT
set INIT
set SIPI
test_and_clear_bit(KVM_APIC_SIPI)
process SIPI
At the end INIT is left pending in pending_events. The following patch
fixes this by latching pending event before processing them.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions