#define MTREE_ALLOC_MAX 0x2000000000000Ul
#define CONFIG_DEBUG_MAPLE_TREE
+//#define BENCH_SLOT_STORE
+//#define BENCH_NODE_STORE
+//#define BENCH_FORK
static
int mtree_insert_index(struct maple_tree *mt, unsigned long index, gfp_t gfp)
{
}
+#if defined(BENCH_SLOT_STORE)
static noinline void bench_slot_store(struct maple_tree *mt)
{
int i, brk = 105, max = 1040, brk_start = 100, count = 20000000;
GFP_KERNEL);
}
}
+#endif
+#if defined(BENCH_NODE_STORE)
static noinline void bench_node_store(struct maple_tree *mt)
{
int i, overwrite = 76, max = 240, count = 20000000;
overwrite = 76;
}
}
+#endif
static noinline void check_forking(struct maple_tree *mt)
{
mtree_destroy(&newmt);
}
+#if defined(BENCH_FORK)
static noinline void bench_forking(struct maple_tree *mt)
{
mtree_destroy(&newmt);
}
}
+#endif
-//#define BENCH_SLOT_STORE
-//#define BENCH_NODE_STORE
-//#define BENCH_FORK
static DEFINE_MTREE(tree);
static int maple_tree_seed(void)
{