Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:resctrl_online_cpu

Proto:static int resctrl_online_cpu(unsigned int cpu)

Type:int

Parameter:

TypeParameterName
unsigned intcpu
680  mutex_lock( & Mutex to protect rdtgroup access. )
681  for_each_capable_rdt_resource(r)
682  domain_add_cpu - Add a cpu to a resource's domain list.* If an existing domain in the resource r's domain list matches the cpu's* resource id, add the cpu in the domain.* Otherwise, a new domain is allocated and inserted into the right position
684  pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer
685  clear_closid_rmid(cpu)
686  mutex_unlock( & Mutex to protect rdtgroup access. )
688  Return 0