函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\core.c Create Date:2022-07-27 09:10:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:resctrl_online_cpu

函数原型:static int resctrl_online_cpu(unsigned int cpu)

返回类型:int

参数:

类型参数名称
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  设置CPU信息
685  clear_closid_rmid(cpu)
686  mutex_unlock( & Mutex to protect rdtgroup access. )
688  返回:0