Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\monitor.c Create Date:2022-07-28 08:12:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mbm_setup_overflow_handler

Proto:void mbm_setup_overflow_handler(struct rdt_domain *dom, unsigned long delay_ms)

Type:void

Parameter:

TypeParameterName
struct rdt_domain *dom
unsigned longdelay_ms
543  delay = msecs_to_jiffies: - convert milliseconds to jiffies*@m: time in milliseconds* conversion is done as follows:* - negative values mean 'infinite timeout' (MAX_JIFFY_OFFSET)* - 'too large' values [that would result in larger than
546  If Not static_branch_likely( & rdt_mon_enable_key) Then Return
548  cpu = cpumask_any - pick a "random" cpu from *srcp*@srcp: the input cpumask* Returns >= nr_cpu_ids if no cpus set.( & cpu_mask)
549  mbm_work_cpu = cpu
550  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
domain_remove_cpu
rdt_get_tree