[PATCH 0/4] mmu notifier debug checks v2

From: Daniel Vetter
Date: Mon Dec 10 2018 - 05:36:51 EST


Hi all,

Here's v2 of my mmu notifier debug checks.

I think the last two patches could probably be extended to all callbacks,
but I'm not really clear on the exact rules. But happy to extend them if
there's interest.

This stuff helps us catch issues in the i915 mmu notifier implementation.

Thanks, Daniel

Daniel Vetter (4):
mm: Check if mmu notifier callbacks are allowed to fail
kernel.h: Add non_block_start/end()
mm, notifier: Catch sleeping/blocking for !blockable
mm, notifier: Add a lockdep map for invalidate_range_start

include/linux/kernel.h | 10 +++++++++-
include/linux/mmu_notifier.h | 6 ++++++
include/linux/sched.h | 4 ++++
kernel/sched/core.c | 6 +++---
mm/mmu_notifier.c | 18 +++++++++++++++++-
5 files changed, 39 insertions(+), 5 deletions(-)

--
2.20.0.rc1