Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:init_kmem_cache_node

Proto:static void init_kmem_cache_node(struct kmem_cache_node *n)

Type:void

Parameter:

TypeParameterName
struct kmem_cache_node *n
3326  nr_partial = 0
3327  Process spin lock initialization( & list_lock)
3328  Initialization list head
Caller
NameDescribe
early_kmem_cache_node_allocNo kmalloc_node yet so do it by hand. We know that this is the first* slab on the node for this slabcache. There are no concurrent accesses* possible.* Note that this function only works on the kmem_cache_node* when allocating for the kmem_cache_node
init_kmem_cache_nodes
slab_mem_going_online_callback