Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
*/
static void mas_node_count(struct ma_state *mas, int count)
{
- return mas_node_count_gfp(mas, count*2, GFP_NOWAIT);
+ return mas_node_count_gfp(mas, count, GFP_NOWAIT);
}
/*
check_load(mt, 135, NULL);
check_load(mt, 140, NULL);
mt_validate(mt);
- mt_dump(mt, mt_dump_hex);
- //exit(0);
mt_set_non_kernel(0);
MT_BUG_ON(mt, !mt_height(mt));
mtree_destroy(mt);
int i, j, total;
MA_STATE(mas, mt, 0, 0);
- return;
check_mas_alloc_node_count(&mas);
height = mas_mt_height(&mas);
MT_BUG_ON(mt, allocated != 0);
- return;
- /*FIXME */
/* Chaining multiple preallocations */
mt_set_in_rcu(mt);
mas_set_range(&mas, 800, 805); /* Slot store, should be 0 allocations */