]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lib/interval_tree: add test case for span iteration
authorWei Yang <richard.weiyang@gmail.com>
Mon, 10 Mar 2025 07:49:36 +0000 (07:49 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 17 Mar 2025 19:17:01 +0000 (12:17 -0700)
commitccaf3efceefc2c3abc6c23277d5a93238efa5c58
tree1afe9e48de7d5f5827a5b62607662fd1b560842d
parent82114e45131ff8006435ce40f4275c9c8910b404
lib/interval_tree: add test case for span iteration

Verify interval_tree_span_iter_xxx() helpers works as expected.

Link: https://lkml.kernel.org/r/20250310074938.26756-6-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/testing/rbtree/Makefile
tools/testing/rbtree/interval_tree_test.c