diff options
-rw-r--r-- | mm/slub.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c index 03ae5490c3d..a18708821c1 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -1876,7 +1876,8 @@ static struct kmem_cache_node * __init early_kmem_cache_node_alloc(gfp_t gfpflag page->freelist = get_freepointer(kmalloc_caches, n); page->inuse++; kmalloc_caches->node[node] = n; - setup_object_debug(kmalloc_caches, page, n); + init_object(kmalloc_caches, n, 1); + init_tracking(kmalloc_caches, n); init_kmem_cache_node(n); atomic_long_inc(&n->nr_slabs); add_partial(n, page); |