summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2019-08-21 22:24:59 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2019-08-23 17:38:09 +0200
commit134fb39dca325f302140c780c6ca3dcbaafa2cf7 (patch)
tree2504b5bd555da342ccc5227ea0f3775725b850bd /block
parent221f8b3711e16fd693aea04d44a146afa88aeab5 (diff)
mm, notifier: annotate with might_sleep()topic/hmm-annotations
Since mmu notifiers don't exist for more processes, but could block in interesting places, add some annotations. This should help make sure 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. Suggested by Jason. Cc: Jason Gunthorpe <jgg@ziepe.ca> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Michal Hocko <mhocko@suse.com> Cc: David Rientjes <rientjes@google.com> Cc: "Christian König" <christian.koenig@amd.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: "Jérôme Glisse" <jglisse@redhat.com> Cc: linux-mm@kvack.org Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions