Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:This is safe against resctrl_sched_in() called from __switch_to()* because __switch_to() is executed with interrupts disabled. A local call* from update_closid_rmid() is proteced against __switch_to() because* preemption is disabled.

Proto:static void update_cpu_closid_rmid(void *info)

Type:void

Parameter:

TypeParameterName
void *info
302  r = info
304  If r Then
305  this_cpu_write(default_closid, closid)
306  this_cpu_write(default_rmid, rmid)
314  resctrl_sched_in()
Caller
NameDescribe
update_closid_rmidUpdate the PGR_ASSOC MSR on all cpus in @cpu_mask,* Per task closids/rmids must have been set up before calling this function.