Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page()
From: Xiao Guangrong
Date: Thu Mar 10 2016 - 10:47:56 EST
On 03/10/2016 11:31 PM, Paolo Bonzini wrote:
On 10/03/2016 16:26, Paolo Bonzini wrote:
Compared to smp_load_acquire(), smp_mb() adds an ordering between stores
and loads.
Here, the ordering is load-store, hence...
Yes, this is why i put smp_mb() in the code. :)