Re: [PATCH 0/5] mmu notifer debug annotations

From: Jason Gunthorpe
Date: Thu Sep 05 2019 - 10:49:54 EST


On Mon, Aug 26, 2019 at 10:14:20PM +0200, Daniel Vetter wrote:
> Hi all,
>
> Next round. Changes:
>
> - I kept the two lockdep annotations patches since when I rebased this
> before retesting linux-next didn't yet have them. Otherwise unchanged
> except for a trivial conflict.
>
> - Ack from Peter Z. on the kernel.h patch.
>
> - Added annotations for non_block to invalidate_range_end. I can't test
> that readily since i915 doesn't use it.
>
> - Added might_sleep annotations to also make sure the mm side keeps up
> it's side of the contract here around what's allowed and what's not.
>
> Comments, feedback, review as usual very much appreciated.
>
>
> Daniel Vetter (5):
> kernel.h: Add non_block_start/end()
> mm, notifier: Catch sleeping/blocking for !blockable

These two applied to hmm.git, with the small check patch edit, thanks!

Jason