函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

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

返回类型:void

参数:

类型参数名称
intcpu
560  reap_work等于per_cpu(slab_reap_work, cpu)
562  如果(func == NULL)则
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.
调用者
名称描述
slab_online_cpu