aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2019-08-26 22:14:25 +0200
committerJason Gunthorpe <[email protected]>2019-09-07 04:28:04 -0300
commit810e24e009cf71bf85a1524f272a744c54ca6591 (patch)
tree44b8303c6a89e20067f265785a09304d3bbac65c /lib/test_overflow.c
parent66204f1d2d1b42962033dfa867442f3dfd898d5f (diff)
mm/mmu_notifiers: annotate with might_sleep()
Since mmu notifiers don't exist for many processes, but could block in interesting places, add some annotations. This should help make sure the core mm keeps up its end of the mmu notifier contract. The checks here are outside of all notifier checks because of that. They compile away without CONFIG_DEBUG_ATOMIC_SLEEP. Link: https://lore.kernel.org/r/[email protected] Suggested-by: Jason Gunthorpe <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions