Re: [PATCH v2 18/36] mm: Update vma_iter_store() to use MAS_WARN_ON()

From: Sergey Senozhatsky
Date: Fri May 05 2023 - 22:42:46 EST


On (23/05/05 13:41), Liam R. Howlett wrote:
> MAS_WARN_ON() will provide more information on the maple state and can
> be more useful for debugging. Use this version of WARN_ON() in the
> debugging code when storing to the tree.
>
> Update the printk to a pr_warn(), but this will only be printed when
> maple tree debug is enabled anyways.
>
> Making all print statements into one will keep them together on a busy
> terminal.
>
> Cc: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>
> Signed-off-by: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx>

Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>