Home
last modified time | relevance | path

Searched refs:rmap_item_cache (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A Dksm.c242 static struct kmem_cache *rmap_item_cache; variable
309 rmap_item_cache = KSM_KMEM_CACHE(rmap_item, 0); in ksm_slab_init()
310 if (!rmap_item_cache) in ksm_slab_init()
326 kmem_cache_destroy(rmap_item_cache); in ksm_slab_init()
335 kmem_cache_destroy(rmap_item_cache); in ksm_slab_free()
382 rmap_item = kmem_cache_zalloc(rmap_item_cache, GFP_KERNEL | in alloc_rmap_item()
393 kmem_cache_free(rmap_item_cache, rmap_item); in free_rmap_item()
/kernel/linux/linux-6.6/mm/
H A Dksm.c241 static struct kmem_cache *rmap_item_cache; variable
314 rmap_item_cache = KSM_KMEM_CACHE(ksm_rmap_item, 0); in ksm_slab_init()
315 if (!rmap_item_cache) in ksm_slab_init()
331 kmem_cache_destroy(rmap_item_cache); in ksm_slab_init()
340 kmem_cache_destroy(rmap_item_cache); in ksm_slab_free()
387 rmap_item = kmem_cache_zalloc(rmap_item_cache, GFP_KERNEL | in alloc_rmap_item()
399 kmem_cache_free(rmap_item_cache, rmap_item); in free_rmap_item()

Completed in 8 milliseconds