diff options
| -rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 |
