]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lib/interval_tree: add test case for interval_tree_iter_xxx() helpers
authorWei Yang <richard.weiyang@gmail.com>
Mon, 10 Mar 2025 07:49:35 +0000 (07:49 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 17 Mar 2025 19:17:00 +0000 (12:17 -0700)
commit82114e45131ff8006435ce40f4275c9c8910b404
tree6963f1a74daee9f9a96538bd55b44e038caf47e7
parent16b1936ae6d1858252413bf4bae8bcf247eb4b4c
lib/interval_tree: add test case for interval_tree_iter_xxx() helpers

Verify interval_tree_iter_xxx() helpers could find intersection ranges
as expected.

[sfr@canb.auug.org.au: some of tools/ uses -Wno-unused-parameter]
Link: https://lkml.kernel.org/r/20250312113612.31ac808e@canb.auug.org.au
Link: https://lkml.kernel.org/r/20250310074938.26756-5-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Michel Lespinasse <michel@lespinasse.org>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/interval_tree_test.c
tools/include/linux/bitmap.h
tools/lib/bitmap.c