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_handle_overflow

Proto:void mbm_handle_overflow(struct work_struct *work)

Type:void

Parameter:

TypeParameterName
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 = smp_processor_id()
515  mutex_lock( & Mutex to protect rdtgroup access. )
517  If Not static_branch_likely( & rdt_mon_enable_key) Then Go to out_unlock
520  d = get_domain_from_cpu(cpu, & rdt_resources_all[RDT_RESOURCE_L3])
521  If Not d Then Go to 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  If is_mba_sc(NULL) Then 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. )