bf857ddd21
__mas_set_range() was created to shortcut resetting the maple state and a debug check was added to the caller (the vma iterator) to ensure the internal maple state remains safe to use. Move the debug check from the vma iterator into the maple tree itself so other users do not incorrectly use the advanced maple state modification. Fallout from this change include a large amount of debug setup needed to be moved to earlier in the header, and the maple_tree.h radix-tree test code needed to move the inclusion of the header to after the atomic define. None of those changes have functional changes. Link: https://lkml.kernel.org/r/20231101171629.3612299-4-Liam.Howlett@oracle.com Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: Peng Zhang <zhangpeng.00@bytedance.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
||
---|---|---|
.. | ||
generated | ||
linux | ||
trace/events | ||
.gitignore | ||
benchmark.c | ||
bitmap.c | ||
idr-test.c | ||
iteration_check_2.c | ||
iteration_check.c | ||
linux.c | ||
main.c | ||
Makefile | ||
maple.c | ||
multiorder.c | ||
regression1.c | ||
regression2.c | ||
regression3.c | ||
regression4.c | ||
regression.h | ||
tag_check.c | ||
test.c | ||
test.h | ||
xarray.c |