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:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void __check_limbo(struct rdt_domain *d, bool force_free)

Type:void

Parameter:

TypeParameterName
struct rdt_domain *d
boolforce_free
112  crmid = 1
114  r = rdt_resources_all[RDT_RESOURCE_L3]
122  cycle
123  nrmid = Find the next set bit in a memory region.
124  If nrmid >= num_rmid Then Break
127  entry = __rmid_entry(nrmid)
128  If force_free || Not rmid_dirty(entry) Then
130  If Not --busy Then
135  crmid = nrmid + 1
Caller
NameDescribe
cqm_handle_limboHandler to scan the limbo list and move the RMIDs* to free list whose occupancy < threshold_occupancy.