From: Liam R. Howlett Date: Tue, 14 Jan 2020 16:22:05 +0000 (-0500) Subject: maple_tree: cleanup X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a593210b43edf4b5ce9f6c61bcb048474912a521;p=users%2Fjedix%2Flinux-maple.git maple_tree: cleanup Signed-off-by: Liam R. Howlett --- diff --git a/lib/test_maple_tree.c b/lib/test_maple_tree.c index 5a8e6f37accf3..adca5baf26caf 100644 --- a/lib/test_maple_tree.c +++ b/lib/test_maple_tree.c @@ -1616,6 +1616,21 @@ STORE, 47708488638464, 47708488642560, STORE, 47708488642560, 47708488646656, }; + unsigned long set9[] = { +STORE, 140737488347136, 140737488351232, +STORE, 140726853324800, 140737488351232, +ERASE, 140726853324800, 140737488351232, +STORE, 140726853324800, 140726853328896, +STORE, 94868882362368, 94868882534400, +ERASE, 94868882362368, 94868882534400, +STORE, 94868882362368, 94868882378752, +STORE, 94868882378752, 94868882534400, +ERASE, 94868882378752, 94868882534400, +STORE, 94868882378752, 94868882481152, +STORE, 94868882481152, 94868882522112, +STORE, 94868882522112, 94868882534400, + }; + mt_set_non_kernel(3); check_erase2_testset(mt, set, ARRAY_SIZE(set)); mtree_destroy(mt); @@ -1659,6 +1674,12 @@ STORE, 47708488642560, 47708488646656, check_erase2_testset(mt, set8, ARRAY_SIZE(set8)); mtree_destroy(mt); + mtree_init(mt, 0); + check_erase2_testset(mt, set9, ARRAY_SIZE(set9)); + mt_dump(mt); + mtree_destroy(mt); + exit(0); + } static noinline void check_alloc_rev_range(struct maple_tree *mt) {