Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Initiate 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

Proto:static void start_cpu_timer(int cpu)

Type:void

Parameter:

TypeParameterName
intcpu
560  reap_work = per_cpu(slab_reap_work, cpu)
562  If (func == NULL) Then
563  init_reap_node(cpu)
564  INIT_DEFERRABLE_WORK(reap_work, ache_reap - Reclaim memory from caches)
565  schedule_delayed_work_on - queue work in global workqueue on CPU after delay*@cpu: cpu to use*@dwork: job to be done*@delay: number of jiffies to wait* After waiting for a given time this puts a job in the kernel-global* workqueue on the specified CPU.
Caller
NameDescribe
slab_online_cpu