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:09:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_cache_id

Proto:static int get_cache_id(int cpu, int level)

Type:int

Parameter:

TypeParameterName
intcpu
intlevel
351  ci = get_cpu_cacheinfo(cpu)
354  When i < num_leaves cycle
355  If level == level Then Return id
359  Return -1
Caller
NameDescribe
domain_add_cpudomain_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
domain_remove_cpu