]> www.infradead.org Git - users/willy/pagecache.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>
Fri, 14 Mar 2025 22:56:14 +0000 (15:56 -0700)
commit5a7cc89c8e54a887b537bc53845ba2a9a3a257ff
treeaf7e5a6fe433523772e1e7c294e2309033008530
parent3b1d19789634db7c3a33e173518872104c8b355a
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