[PATCH v2 07/10] KVM: Move MMU notifier's mmu_lock acquisition into common helper

Sean Christopherson seanjc at google.com
Fri Apr 2 15:59:42 BST 2021


On Fri, Apr 02, 2021, Paolo Bonzini wrote:
> On 02/04/21 02:56, Sean Christopherson wrote:
> > +		.handler	= (void *)kvm_null_fn,
> > +		.on_lock	= kvm_dec_notifier_count,
> > +		.flush_on_ret	= true,
> 
> Doesn't really matter since the handler is null, but I think it's cleaner to
> have false here.

Agreed.



More information about the linux-arm-kernel mailing list