diff options
author | 2017-10-10 12:51:56 +0200 | |
---|---|---|
committer | 2017-10-12 14:01:54 +0200 | |
commit | 1cf53587c03025885af359da3bd0be091aa34b53 (patch) | |
tree | fd3205a5e0df998685918af87e4ce92f70be0951 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | arch/x86: remove redundant null checks before kmem_cache_destroy (diff) | |
download | linux-dev-1cf53587c03025885af359da3bd0be091aa34b53.tar.xz linux-dev-1cf53587c03025885af359da3bd0be091aa34b53.zip |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions