diff options
| author | Liam R. Howlett <[email protected]> | 2023-05-18 14:55:27 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-06-09 23:25:31 +0000 |
| commit | 36bd931049bf93a4eaec4a558beca477db152881 (patch) | |
| tree | 916849780f1098dcb727e76ecd6bf4e212d14e11 /tools/testing/radix-tree/maple.c | |
| parent | mm: update validate_mm() to use vma iterator (diff) | |
| download | kernel-36bd931049bf93a4eaec4a558beca477db152881.tar.gz kernel-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/[email protected]
Signed-off-by: Liam R. Howlett <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Cc: David Binderman <[email protected]>
Cc: Peng Zhang <[email protected]>
Cc: Vernon Yang <[email protected]>
Cc: Wei Yang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/maple.c')
0 files changed, 0 insertions, 0 deletions
