From: Takuya Yoshikawa Date: Tue, 18 Feb 2014 08:22:47 +0000 (+0900) Subject: KVM: Simplify kvm->tlbs_dirty handling X-Git-Tag: v3.15-rc1~118^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5befdc385ddb2d5ae8995ad89004529a3acf58fc;p=pandora-kernel.git KVM: Simplify kvm->tlbs_dirty handling When this was introduced, kvm_flush_remote_tlbs() could be called without holding mmu_lock. It is now acknowledged that the function must be called before releasing mmu_lock, and all callers have already been changed to do so. There is no need to use smp_mb() and cmpxchg() any more. Signed-off-by: Takuya Yoshikawa Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed