commit | 9753f529156d03112d1ff6f3758ccd6fa6faf189 | [log] [tgz] |
---|---|---|
author | Lan Tianyu <tianyu.lan@intel.com> | Sun Mar 13 11:10:24 2016 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Mar 22 16:38:27 2016 +0100 |
tree | 675585108c6efb772d2d0503468fcef602237044 | |
parent | b9baba861489041b37b54fc7ee0b0006b5327151 [diff] |
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>