The kmem_cache_init() Function

Kmem_cache_init() is located in mm/slab.c. This function initializes the kernel's SLAB memory management subsystem. SLABs are used for dynamic memory management of internal kernel structures.