Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:slab_mem_offline_callback

Proto:static void slab_mem_offline_callback(void *arg)

Type:void

Parameter:

TypeParameterName
void *arg
4080  marg = arg
4083  offline_node = status_change_nid_normal
4089  If offline_node < 0 Then Return
4092  mutex_lock( & slab_mutex)
4094  n = get_node(s, offline_node)
4095  If n Then
4102  BUG_ON(slabs_node(s, offline_node))
4104  node[offline_node] = NULL
4105  kmem_cache_free(kmem_cache_node, n)
4108  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
Caller
NameDescribe
slab_memory_callback