]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - mm/slub.c
slab: correct size_index table before replacing the bootstrap kmem_cache_node
[mirror_ubuntu-eoan-kernel.git] / mm / slub.c
index 54c0876b43d554e4e1d8981e08007a8a3cd0c59a..816df0016555ad8a5cf03c8020e0b39b75b0a498 100644 (file)
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -3700,6 +3700,7 @@ void __init kmem_cache_init(void)
        kmem_cache_node = bootstrap(&boot_kmem_cache_node);
 
        /* Now we can use the kmem_cache to allocate kmalloc slabs */
+       setup_kmalloc_cache_index_table();
        create_kmalloc_caches(0);
 
 #ifdef CONFIG_SMP