diff options
author | Lan Tianyu <tianyu.lan@intel.com> | 2016-03-13 04:10:24 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-22 16:38:27 +0100 |
commit | 9753f529156d03112d1ff6f3758ccd6fa6faf189 (patch) | |
tree | 675585108c6efb772d2d0503468fcef602237044 /virt | |
parent | KVM, pkeys: expose CPUID/CR4 to guest (diff) | |
download | linux-9753f529156d03112d1ff6f3758ccd6fa6faf189.tar.xz linux-9753f529156d03112d1ff6f3758ccd6fa6faf189.zip |
KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page()
There is already a barrier inside of kvm_flush_remote_tlbs() which can
help to make sure everyone sees our modifications to the page tables and
see changes to vcpu->mode here. So remove the smp_mb in the
kvm_mmu_commit_zap_page() and update the comment.
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions