Re: [PATCH 2/4] mm, notifier: Prime lockdep

2019-08-20 Thread Jason Gunthorpe
On Tue, Aug 20, 2019 at 10:19:00AM +0200, Daniel Vetter wrote: > We want to teach lockdep that mmu notifiers can be called from direct > reclaim paths, since on many CI systems load might never reach that > level (e.g. when just running fuzzer or small functional tests). > > Motivated by a

[PATCH 2/4] mm, notifier: Prime lockdep

2019-08-20 Thread Daniel Vetter
We want to teach lockdep that mmu notifiers can be called from direct reclaim paths, since on many CI systems load might never reach that level (e.g. when just running fuzzer or small functional tests). Motivated by a discussion with Jason. I've put the annotation into mmu_notifier_register