函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-27 17:20:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kmem_cache_has_cpu_partial

函数原型:static inline bool kmem_cache_has_cpu_partial(struct kmem_cache *s)

返回类型:bool

参数:

类型参数名称
struct kmem_cache *s
139  返回:false
调用者
名称描述
get_partial_nodeTry to allocate a partial slab from a specific node.
__slab_freeSlow path handling. This may still be called frequently since objects* have a longer lifetime than the cpu slabs in most processing loads.* So we still attempt to reduce cache line usage. Just take the slab* lock and free the item