[PATCH v2 18/36] mm: Update vma_iter_store() to use MAS_WARN_ON()
Sergey Senozhatsky
senozhatsky at chromium.org
Fri May 5 19:42:35 PDT 2023
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 at chromium.org>
> Signed-off-by: Liam R. Howlett <Liam.Howlett at oracle.com>
Reviewed-by: Sergey Senozhatsky <senozhatsky at chromium.org>
More information about the maple-tree
mailing list