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:Update the PGR_ASSOC MSR on all cpus in @cpu_mask,* Per task closids/rmids must have been set up before calling this function.

Proto:static void update_closid_rmid(const struct cpumask *cpu_mask, struct rdtgroup *r)

Type:void

Parameter:

TypeParameterName
const struct cpumask *cpu_mask
struct rdtgroup *r
325  cpu = get_cpu()
327  If pumask_test_cpu - test for a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in @cpumask, else returns 0 Then 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.
329  smp_call_function_many(cpu_mask, 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., r, 1)
330  put_cpu()
Caller
NameDescribe
cpus_mon_write
cpus_ctrl_write
rmdir_all_subForcibly remove all of subdirectories under root.
rdtgroup_rmdir_mon
rdtgroup_rmdir_ctrl