Re: [PATCH] mm: document mmu_notifier_invalidate_range_start_nonblock()

From: Jason Gunthorpe
Date: Mon Sep 18 2023 - 19:26:35 EST


On Mon, Sep 18, 2023 at 10:18:32PM +0200, Jann Horn wrote:
> Document what mmu_notifier_invalidate_range_start_nonblock() is for.
> Also add a __must_check annotation to signal that callers must bail out if
> a notifier vetoes the operation.
>
> Signed-off-by: Jann Horn <jannh@xxxxxxxxxx>
> ---
> include/linux/mmu_notifier.h | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason