diff options
author | Lan Tianyu <tianyu.lan@intel.com> | 2016-03-13 04:10:28 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-22 16:38:33 +0100 |
commit | 4ae3cb3a2551b41f22284f713e7d5e2b61a85c1d (patch) | |
tree | 153de5718a4688050cd3911a7442431a81620926 /firmware/cpia2 | |
parent | KVM/x86: Call smp_wmb() before increasing tlbs_dirty (diff) | |
download | linux-4ae3cb3a2551b41f22284f713e7d5e2b61a85c1d.tar.xz linux-4ae3cb3a2551b41f22284f713e7d5e2b61a85c1d.zip |
KVM: Replace smp_mb() with smp_load_acquire() in the kvm_flush_remote_tlbs()
smp_load_acquire() is enough here and it's cheaper than smp_mb().
Adding a comment about reusing memory barrier of kvm_make_all_cpus_request()
here to keep order between modifications to the page tables and reading mode.
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'firmware/cpia2')
0 files changed, 0 insertions, 0 deletions