]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
maple_tree: cleanup
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 14 Jan 2020 16:22:05 +0000 (11:22 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 30 Oct 2020 18:56:58 +0000 (14:56 -0400)
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
lib/test_maple_tree.c

index 5a8e6f37accf35eb392219d04e6eae62583d5832..adca5baf26cafdd2230f1eebc8f1211d27b1ef36 100644 (file)
@@ -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)
 {