diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-10-10 12:51:56 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-10-12 14:01:54 +0200 |
commit | 1cf53587c03025885af359da3bd0be091aa34b53 (patch) | |
tree | fd3205a5e0df998685918af87e4ce92f70be0951 /scripts/gdb/linux/modules.py | |
parent | c1bd743e54cd653bd5e7082255dc236cfd40dbf0 (diff) |
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 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions