Searched refs:mm_slot_cache (Results 1 – 2 of 2) sorted by relevance
249 static struct kmem_cache *mm_slot_cache; variable500 mm_slot_cache = KMEM_CACHE(ksm_mm_slot, 0); in ksm_slab_init()501 if (!mm_slot_cache) in ksm_slab_init()516 kmem_cache_destroy(mm_slot_cache); in ksm_slab_free()519 mm_slot_cache = NULL; in ksm_slab_free()1241 mm_slot_free(mm_slot_cache, mm_slot); in unmerge_and_remove_all_rmap_items()2741 mm_slot_free(mm_slot_cache, mm_slot); in scan_get_next_rmap_item()3021 mm_slot = mm_slot_alloc(mm_slot_cache); in __ksm_enter()3092 mm_slot_free(mm_slot_cache, mm_slot); in __ksm_exit()
95 static struct kmem_cache *mm_slot_cache __ro_after_init;373 mm_slot_cache = KMEM_CACHE(mm_slot, 0); in khugepaged_init()374 if (!mm_slot_cache) in khugepaged_init()387 kmem_cache_destroy(mm_slot_cache); in khugepaged_destroy()435 slot = mm_slot_alloc(mm_slot_cache); in __khugepaged_enter()480 mm_slot_free(mm_slot_cache, slot); in __khugepaged_exit()1421 mm_slot_free(mm_slot_cache, slot); in collect_mm_slot()