Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-28 15:43:48
Last Modify:2022-05-23 17:02:55 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Drains freelist for a node on each slab cache, used for memory hot-remove.* Returns -EBUSY if all objects cannot be drained so that the node is not* removed.* Must hold slab_mutex.

Proto:static int __meminit drain_cache_node_node(int node)

Type:int

Parameter:

TypeParameterName
intnode
1146  ret = 0
1151  n = get_node(cachep, node)
1152  If Not n Then Continue
1155  drain_freelist(cachep, n, INT_MAX)
1157  If Not list_empty - tests whether a list is empty*@head: the list to test. || Not list_empty - tests whether a list is empty*@head: the list to test. Then
1159  ret = -EBUSY
1160  Break
1163  Return ret
Caller
NameDescribe
slab_memory_callback