函数逻辑报告

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

函数名称:add_rmid_to_limbo

函数原型:static void add_rmid_to_limbo(struct rmid_entry *entry)

返回类型:void

参数:

类型参数名称
struct rmid_entry *entry
172  r等于rdt_resources_all[RDT_RESOURCE_L3]
174  busy等于0
175  cpu等于get_cpu()
177  如果测试CPU信息
178  val等于__rmid_read(rmid, Event IDs are used to program IA32_QM_EVTSEL before reading event* counter from IA32_QM_CTR)
179  如果val小于等于This is the threshold cache occupancy at which we will consider an* RMID available for re-allocation.则继续下一循环
187  如果非has_busy_rmid(r, d)则cqm_setup_limbo_handler(d, CQM_LIMBOCHECK_INTERVAL)
189  设置内存位
190  busy自加
192  put_cpu()
194  如果busy@rmid_limbo_count count of currently unused but (potentially)* dirty RMIDs.* This counts RMIDs that no one is currently using but that* may have a occupancy value > intel_cqm_threshold. User can change* the threshold occupancy value.自加
196  否则添加链表项
调用者
名称描述
free_rmid