diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-10-10 13:51:56 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-10-12 15:01:54 +0300 |
commit | 1cf53587c03025885af359da3bd0be091aa34b53 (patch) | |
tree | fd3205a5e0df998685918af87e4ce92f70be0951 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c1bd743e54cd653bd5e7082255dc236cfd40dbf0 (diff) | |
download | linux-1cf53587c03025885af359da3bd0be091aa34b53.tar.xz |
KVM: SVM: unconditionally wake up VCPU on IOMMU interrupt
Checking the mode is unnecessary, and is done without a memory barrier
separating the LAPIC write from the vcpu->mode read; in addition,
kvm_vcpu_wake_up is already doing a check for waiters on the wait queue
that has the same effect.
In practice it's safe because spin_lock has full-barrier semantics on x86,
but don't be too clever.
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions