函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-27 17:18:29
Last Modify:2022-05-23 17:02:55 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:drain_cpu_caches

函数原型:static void drain_cpu_caches(struct kmem_cache *cachep)

返回类型:void

参数:

类型参数名称
struct kmem_cache *cachep
2207  LIST_HEAD(list)
2209  Call a function on all processors. May be used during early boot while* early_boot_irqs_disabled is set. Use local_irq_save/restore() instead* of local_irq_disable/enable().
2210  check_irq_on()
2211  for_each_kmem_cache_node(cachep, node, n)
2212  如果aliendrain_alien_cache(cachep, alien)
2216  spin_lock_irq( & list_lock)
2217  drain_array_locked(cachep, shared, node, true, & list)
2218  spin_unlock_irq( & list_lock)
2220  slabs_destroy(cachep, & list)
调用者
名称描述
__kmem_cache_shrink