Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:init_reap_node

Proto:static void init_reap_node(int cpu)

Type:void

Parameter:

TypeParameterName
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)
Caller
NameDescribe
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