path: root/mm/pagewalk.c
diff options
authorDaniel Vetter <>2019-08-26 22:14:22 +0200
committerJason Gunthorpe <>2019-09-07 04:28:04 -0300
commit66204f1d2d1b42962033dfa867442f3dfd898d5f (patch)
treee69ce0dea0a7ec2b48d1fd73e1e59e305993942f /mm/pagewalk.c
parent23b68395c7c78a764e8963fc15a7cfd318bf187f (diff)
mm/mmu_notifiers: prime lockdep
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). I've put the annotation into mmu_notifier_register since only when we have mmu notifiers registered is there any point in teaching lockdep about them. Also, we already have a kmalloc(, GFP_KERNEL), so this is safe. Link: Suggested-by: Jason Gunthorpe <> Reviewed-by: Jason Gunthorpe <> Signed-off-by: Daniel Vetter <> Signed-off-by: Jason Gunthorpe <>
Diffstat (limited to 'mm/pagewalk.c')
0 files changed, 0 insertions, 0 deletions