On Tue, Aug 06, 2019 at 08:15:38PM -0300, Jason Gunthorpe wrote: > From: Jason Gunthorpe <[email protected]> > > This simplifies the code to not have so many one line functions and extra > logic. __mmu_notifier_register() simply becomes the entry point to > register the notifier, and the other one calls it under lock. > > Also add a lockdep_assert to check that the callers are holding the lock > as expected. > > Suggested-by: Christoph Hellwig <[email protected]> > Signed-off-by: Jason Gunthorpe <[email protected]>
Looks good: Reviewed-by: Christoph Hellwig <[email protected]>
