函数逻辑报告

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

函数名称:Check the RMIDs that are marked as busy for this domain. If the* reported LLC occupancy is below the threshold clear the busy bit and* decrement the count. If the busy count gets to zero on an RMID, we* free the RMID

函数原型:void __check_limbo(struct rdt_domain *d, bool force_free)

返回类型:void

参数:

类型参数名称
struct rdt_domain *d
boolforce_free
112  crmid等于1
114  r等于rdt_resources_all[RDT_RESOURCE_L3]
122  循环
123  nrmid等于在内存区域中找到下一个设置位
124  如果nrmid大于等于num_rmid退出
127  entry等于__rmid_entry(nrmid)
128  如果force_free或非rmid_dirty(entry)则
130  如果非busy先自减则
135  crmid等于nrmid加1
调用者
名称描述
cqm_handle_limboHandler to scan the limbo list and move the RMIDs* to free list whose occupancy < threshold_occupancy.
domain_remove_cpu