summaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorChristoph Lameter2012-11-28 17:23:09 +0100
committerPekka Enberg2012-12-11 11:14:27 +0100
commit2f9baa9fcf8d0a204ca129a671d6086cc100faab (patch)
tree2f5623db840042f0deffac46c15affa9825bc0b1 /mm/slub.c
parentslub: Use statically allocated kmem_cache boot structure for bootstrap (diff)
downloadkernel-qcow2-linux-2f9baa9fcf8d0a204ca129a671d6086cc100faab.tar.gz
kernel-qcow2-linux-2f9baa9fcf8d0a204ca129a671d6086cc100faab.tar.xz
kernel-qcow2-linux-2f9baa9fcf8d0a204ca129a671d6086cc100faab.zip
slab: Use the new create_boot_cache function to simplify bootstrap
Simplify setup and reduce code in kmem_cache_init(). This allows us to get rid of initarray_cache as well as the manual setup code for the kmem_cache and kmem_cache_node arrays during bootstrap. We introduce a new bootstrap state "PARTIAL" for slab that signals the creation of a kmem_cache boot cache. Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions