]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Update vma_iter_store() to use MAS_WARN_ON()
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 24 Apr 2023 20:18:41 +0000 (16:18 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 27 Apr 2023 01:37:46 +0000 (21:37 -0400)
commitb2de6d4cc36ee23513d7793dd9294dbb820041bb
tree6af3ac648fbb5826b1522851bb91df280a1b264e
parentb82330c16054e5b25168a7cbfeae4941a7e4ce3a
mm: Update vma_iter_store() to use MAS_WARN_ON()

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.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
mm/internal.h