enum maple_type type;
        void __rcu **slots;
        unsigned char end;
-       unsigned long max;
 
        next = mas->node;
-       max = ULONG_MAX;
        do {
-               offset = 0;
                node = mte_to_node(next);
                type = mte_node_type(next);
                pivots = ma_pivots(node, type);
-               end = ma_data_end(node, type, pivots, max);
-               if (unlikely(ma_dead_node(node)))
-                       goto dead_node;
+               end = mt_pivots[type];
+               offset = 0;
                do {
-                       if (pivots[offset] >= mas->index) {
-                               max = pivots[offset];
+                       if (pivots[offset] >= mas->index)
                                break;
-                       }
                } while (++offset < end);
 
                slots = ma_slots(node, type);
 
 /* #define BENCH_NODE_STORE */
 /* #define BENCH_AWALK */
 /* #define BENCH_WALK */
+/* #define BENCH_LOAD */
 /* #define BENCH_MT_FOR_EACH */
 /* #define BENCH_FORK */
 /* #define BENCH_MAS_FOR_EACH */
 }
 #endif
 
+#if defined(BENCH_LOAD)
+static noinline void __init bench_load(struct maple_tree *mt)
+{
+       int i, max = 2500, count = 550000000;
+
+       for (i = 0; i < max; i += 10)
+               mtree_store_range(mt, i, i + 5, xa_mk_value(i), GFP_KERNEL);
+
+       for (i = 0; i < count; i++)
+               mtree_load(mt, 1470);
+}
+#endif
+
 #if defined(BENCH_MT_FOR_EACH)
 static noinline void __init bench_mt_for_each(struct maple_tree *mt)
 {
        mtree_destroy(&tree);
        goto skip;
 #endif
+#if defined(BENCH_LOAD)
+#define BENCH
+       mt_init_flags(&tree, MT_FLAGS_ALLOC_RANGE);
+       bench_load(&tree);
+       mtree_destroy(&tree);
+       goto skip;
+#endif
 #if defined(BENCH_FORK)
 #define BENCH
        bench_forking();