Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\ksm.c Create Date:2022-07-28 15:38:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ksm_slab_init

Proto:static int __init ksm_slab_init(void)

Type:int

Parameter:Nothing

308  rmap_item_cache = KSM_KMEM_CACHE(rmap_item, 0)
309  If Not rmap_item_cache Then Go to out
312  stable_node_cache = KSM_KMEM_CACHE(stable_node, 0)
313  If Not stable_node_cache Then Go to out_free1
316  mm_slot_cache = KSM_KMEM_CACHE(mm_slot, 0)
317  If Not mm_slot_cache Then Go to out_free2
320  Return 0
322  out_free2 :
323  kmem_cache_destroy(stable_node_cache)
324  out_free1 :
325  kmem_cache_destroy(rmap_item_cache)
326  out :
327  Return -ENOMEM
Caller
NameDescribe
ksm_init