函数逻辑报告

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:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:rdt_get_mon_l3_config

函数原型:int rdt_get_mon_l3_config(struct rdt_resource *r)

返回类型:int

参数:

类型参数名称
struct rdt_resource *r
617  cl_size等于 KB - valid for CPUS which support this call:
620  mon_scale等于scale to bytes
621  num_rmid等于max index 加1
630  This is the threshold cache occupancy at which we will consider an* RMID available for re-allocation.等于cl_size乘1024除num_rmid
633  This is the threshold cache occupancy at which we will consider an* RMID available for re-allocation.除等于mon_scale
635  ret等于dom_data_init(r)
636  如果ret则返回:ret
639  Initialize the event list for the resource.* Note that MBM events are also part of RDT_RESOURCE_L3 resource* because as per the SDM the total and local memory bandwidth* are enumerated as part of L3 monitoring.
641  mon_capable = true
642  mon_enabled = true
644  返回:0
调用者
名称描述
get_rdt_mon_resources