]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
test_maple_tree: tweak bench_walk()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 25 Nov 2020 19:00:45 +0000 (14:00 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 5 Jan 2021 17:33:28 +0000 (12:33 -0500)
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
lib/test_maple_tree.c

index 0e8e995ac04809017aa28ccbfd621618055e92fb..a892b512c30fc50aeef21f322d279e3aea127865 100644 (file)
@@ -35321,8 +35321,8 @@ static noinline void bench_node_store(struct maple_tree *mt)
 #if defined(BENCH_WALK)
 static noinline void bench_walk(struct maple_tree *mt)
 {
-       int i, max = 2500, count = 100000000;
-       MA_STATE(mas, mt, 22, 22);
+       int i, max = 2500, count = 250000000;
+       MA_STATE(mas, mt, 1470, 1470);
 
        for (i = 0; i < max; i += 10)
                mtree_store_range(mt, i, i + 5, xa_mk_value(i), GFP_KERNEL);