aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index dafd465f7a3f..2258ed82880a 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -3707,7 +3707,7 @@ void __init kmem_cache_init(void)
3707 /* Allocate two kmem_caches from the page allocator */ 3707 /* Allocate two kmem_caches from the page allocator */
3708 kmalloc_size = ALIGN(kmem_size, cache_line_size()); 3708 kmalloc_size = ALIGN(kmem_size, cache_line_size());
3709 order = get_order(2 * kmalloc_size); 3709 order = get_order(2 * kmalloc_size);
3710 kmem_cache = (void *)__get_free_pages(GFP_NOWAIT, order); 3710 kmem_cache = (void *)__get_free_pages(GFP_NOWAIT | __GFP_ZERO, order);
3711 3711
3712 /* 3712 /*
3713 * Must first have the slab cache available for the allocations of the 3713 * Must first have the slab cache available for the allocations of the