函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\monitor.c Create Date:2022-07-27 09:12:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mbm_handle_overflow

函数原型:void mbm_handle_overflow(struct work_struct *work)

返回类型:void

参数:

类型参数名称
struct work_struct *work
509  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
511  cpu等于当前cpu ID()
515  mutex_lock( & Mutex to protect rdtgroup access. )
517  如果非static_branch_likely( & rdt_mon_enable_key)则转到:out_unlock
520  d等于get_domain_from_cpu(cpu, & rdt_resources_all[RDT_RESOURCE_L3])
521  如果非d则转到:out_unlock
525  mbm_update(d, rmid)
527  head等于crdtgrp_list
528  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(crgrp, head, crdtgrp_list)
529  mbm_update(d, rmid)
531  如果is_mba_sc(NULL)则Feedback loop for MBA software controller (mba_sc)* mba_sc is a feedback loop where we periodically read MBM counters and* adjust the bandwidth percentage values via the IA32_MBA_THRTL_MSRs so* that:* current bandwdith(cur_bw) < user specified
535  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.
537  out_unlock :
538  mutex_unlock( & Mutex to protect rdtgroup access. )