maple_tree: add a test case to check maple_alloc
authorPeng Zhang <zhangpeng.00@bytedance.com>
Tue, 11 Apr 2023 04:10:05 +0000 (12:10 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Apr 2023 23:29:56 +0000 (16:29 -0700)
commit3b7939c8e5345fb84309f2605a4b6f7ac8dd7fce
tree26274e85372971b65e6cb109e960d0e7be237b21
parentf6365881bf797c734bf4cf1353bfa59ffd444f8f
maple_tree: add a test case to check maple_alloc

Add a test case to check whether the number of maple_alloc structures is
actually equal to mas->alloc->total.

Link: https://lkml.kernel.org/r/20230411041005.26205-2-zhangpeng.00@bytedance.com
Signed-off-by: Peng Zhang <zhangpeng.00@bytedance.com>
Cc: Liam R. Howlett <Liam.Howlett@Oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/radix-tree/maple.c