Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1349765
| From | Lan Tianyu <tianyu.lan@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() |
| Date | 2016-03-04 03:00 +0100 |
| Message-ID | <r8Nc6-7Fq-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
The following kvm_flush_remote_tlbs() will call smp_mb() inside and so remove smp_mb() here. Signed-off-by: Lan Tianyu <tianyu.lan@intel.com> --- arch/x86/kvm/mmu.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index a54ecd9..6315416 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -2383,12 +2383,6 @@ static void kvm_mmu_commit_zap_page(struct kvm *kvm, return; /* - * wmb: make sure everyone sees our modifications to the page tables - * rmb: make sure we see changes to vcpu->mode - */ - smp_mb(); - - /* * Wait for all vcpus to exit guest mode and/or lockless shadow * page table walks. */ -- 1.8.4.rc0.1.g8f6a3e5.dirty
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Lan Tianyu <tianyu.lan@intel.com> - 2016-03-04 03:00 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Lan Tianyu <tianyu.lan@intel.com> - 2016-03-04 08:30 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Paolo Bonzini <pbonzini@redhat.com> - 2016-03-04 09:50 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Lan Tianyu <tianyu.lan@intel.com> - 2016-03-08 10:00 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Paolo Bonzini <pbonzini@redhat.com> - 2016-03-08 16:30 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Lan Tianyu <tianyu.lan@intel.com> - 2016-03-09 08:40 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Paolo Bonzini <pbonzini@redhat.com> - 2016-03-10 18:10 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2016-03-10 19:20 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2016-03-10 15:50 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Paolo Bonzini <pbonzini@redhat.com> - 2016-03-10 16:30 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Paolo Bonzini <pbonzini@redhat.com> - 2016-03-10 16:40 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2016-03-10 16:50 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Paolo Bonzini <pbonzini@redhat.com> - 2016-03-10 17:10 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2016-03-10 19:20 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Lan Tianyu <tianyu.lan@intel.com> - 2016-03-11 02:40 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Thomas Gleixner <tglx@linutronix.de> - 2016-03-04 08:30 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Paolo Bonzini <pbonzini@redhat.com> - 2016-03-04 09:10 +0100
Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page() Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2016-03-04 14:50 +0100
csiph-web