diff options
author | 2023-05-18 10:55:27 -0400 | |
---|---|---|
committer | 2023-06-09 16:25:31 -0700 | |
commit | 36bd931049bf93a4eaec4a558beca477db152881 (patch) | |
tree | 916849780f1098dcb727e76ecd6bf4e212d14e11 /lib/test_maple_tree.c | |
parent | mm: update validate_mm() to use vma iterator (diff) | |
download | wireguard-linux-36bd931049bf93a4eaec4a558beca477db152881.tar.xz wireguard-linux-36bd931049bf93a4eaec4a558beca477db152881.zip |
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.
Link: https://lkml.kernel.org/r/20230518145544.1722059-19-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: David Binderman <dcb314@hotmail.com>
Cc: Peng Zhang <zhangpeng.00@bytedance.com>
Cc: Vernon Yang <vernon2gm@gmail.com>
Cc: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/test_maple_tree.c')
0 files changed, 0 insertions, 0 deletions