diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-10 16:30:22 +0100 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2016-04-20 15:29:17 +0200 |
commit | 2e4682ba2ed79d8082b78d292b3b80f54d970b7a (patch) | |
tree | 8e5b5b046d1e680516b2491275cfb1df9d14d2ab /Documentation/virtual | |
parent | 46971a2f59f135341f8912f516540fef6890d4df (diff) |
KVM: add missing memory barrier in kvm_{make,check}_request
kvm_make_request and kvm_check_request imply a producer-consumer
relationship; add implicit memory barriers to them. There was indeed
already a place that was adding an explicit smp_mb() to order between
kvm_check_request and the processing of the request. That memory
barrier can be removed (as an added benefit, kvm_check_request can use
smp_mb__after_atomic which is free on x86).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation/virtual')
0 files changed, 0 insertions, 0 deletions