Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\pseudo_lock.c Create Date:2022-07-28 08:14:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dtgroup_locksetup_exit - resource group exist locksetup mode*@rdtgrp: resource group* When a resource group exits locksetup mode the earlier restrictions are* lifted.* Return: 0 on success, <0 on failure

Proto:int rdtgroup_locksetup_exit(struct rdtgroup *rdtgrp)

Type:int

Parameter:

TypeParameterName
struct rdtgroup *rdtgrp
759  If Global boolean for rdt_monitor which is true if any* resource monitoring is enabled. Then
760  ret = As of now the RMIDs allocation is global.* However we keep track of which packages the RMIDs* are used to optimize the limbo list management.
761  If ret < 0 Then
762  rdt_last_cmd_puts("Out of RMIDs\n")
763  Return ret
765  rmid = ret
768  ret = dtgroup_locksetup_user_restore - Restore user access to group*@rdtgrp: resource group needing access restored* Restore all file access previously removed using* rdtgroup_locksetup_user_restrict()* Return: 0 on success, <0 on failure
769  If ret Then
770  free_rmid(rmid)
771  Return ret
774  pseudo_lock_free - Free a pseudo-locked region*@rdtgrp: resource group to which pseudo-locked region belonged* The pseudo-locked region's resources have already been released, or not* yet created at this point
775  Return 0
Caller
NameDescribe
rdtgroup_mode_writedtgroup_mode_write - Modify the resource group's mode