Re: [kvm-devel] [PATCH] KVM: MMU: unify slots_lock usage

2008-03-30 Thread Avi Kivity
Marcelo Tosatti wrote: > Unify slots_lock acquision around vcpu_run(). This is simpler and less > error-prone. > > Also fix some callsites that were not grabbing the lock properly. > > Please review. > > While I think we could simplify the locking even further (by locking at the caller of __vc

[kvm-devel] [PATCH] KVM: MMU: unify slots_lock usage

2008-03-29 Thread Marcelo Tosatti
Unify slots_lock acquision around vcpu_run(). This is simpler and less error-prone. Also fix some callsites that were not grabbing the lock properly. Please review. Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]> Index: kvm/arch/x86/kvm/mmu.c ==