函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:init_reap_node

函数原型:static void init_reap_node(int cpu)

返回类型:void

参数:

类型参数名称
intcpu
534  per_cpu(Special reaping functions for NUMA systems called from cache_reap().* These take care of doing round robin flushing of alien caches (containing* objects freed on different nodes from which they were allocated) and the, cpu)等于Find the next present node in src, starting after node n, wrapping around to* the first node in src if needed. Returns MAX_NUMNODES if src is empty.(cpu_to_mem(cpu), node_online_map)
调用者
名称描述
start_cpu_timerInitiate the reap timer running on the target CPU. We run at around 1 to 2Hz* via the workqueue/eventd.* Add the CPU number into the expiration time to minimize the possibility of* the CPUs getting into lockstep and contending for the global cache chain