Searched refs:mm_slot_cache (Results 1 – 2 of 2) sorted by relevance
102 static struct kmem_cache *mm_slot_cache __ro_after_init;474 mm_slot_cache = KMEM_CACHE(mm_slot, 0); in khugepaged_init()475 if (!mm_slot_cache) in khugepaged_init()488 kmem_cache_destroy(mm_slot_cache); in khugepaged_destroy()540 slot = mm_slot_alloc(mm_slot_cache); in __khugepaged_enter()545 mm_slot_free(mm_slot_cache, slot); in __khugepaged_enter()611 mm_slot_free(mm_slot_cache, slot); in __khugepaged_exit()1809 mm_slot_free(mm_slot_cache, slot); in collect_mm_slot()
255 static struct kmem_cache *mm_slot_cache; variable506 mm_slot_cache = KMEM_CACHE(ksm_mm_slot, 0); in ksm_slab_init()507 if (!mm_slot_cache) in ksm_slab_init()522 kmem_cache_destroy(mm_slot_cache); in ksm_slab_free()525 mm_slot_cache = NULL; in ksm_slab_free()1262 mm_slot_free(mm_slot_cache, mm_slot); in unmerge_and_remove_all_rmap_items()2776 mm_slot_free(mm_slot_cache, mm_slot); in scan_get_next_rmap_item()3056 mm_slot = mm_slot_alloc(mm_slot_cache); in __ksm_enter()3125 mm_slot_free(mm_slot_cache, mm_slot); in __ksm_exit()