commit | 5befdc385ddb2d5ae8995ad89004529a3acf58fc | [log] [tgz] |
---|---|---|
author | Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> | Tue Feb 18 17:22:47 2014 +0900 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Feb 18 10:07:26 2014 +0100 |
tree | e31e48e6f1f810596b6c5ca9663c02c02ed319b5 | |
parent | f18eb31f9df52c28ec86d18d72f66ef689878daa [diff] |
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 <yoshikawa_takuya_b1@lab.ntt.co.jp> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>