Function report | 
Source Code:arch\x86\kernel\cpu\cacheinfo.c | 
Create Date:2022-07-28 07:54:05 | 
| Last Modify:2020-03-16 20:07:28 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__cache_cpumap_setup
Proto:static void __cache_cpumap_setup(unsigned int cpu, int index, struct _cpuid4_info_regs *base)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int | cpu | |
| int | index | |
| struct _cpuid4_info_regs * | base | 
| 937 | this_cpu_ci = get_cpu_cacheinfo(cpu) | 
| 943 | If CPU vendor == X86_VENDOR_AMD || CPU vendor == X86_VENDOR_HYGON Then | 
| 945 | If __cache_amd_cpumap_setup(cpu, index, base) Then Return | 
| 950 | num_threads_sharing = 1 + num_threads_sharing | 
| 952 | pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer | 
| 953 | If num_threads_sharing == 1 Then Return | 
| 958 | for_each_online_cpu(i) | 
| 960 | sib_cpu_ci = get_cpu_cacheinfo(i) | 
| 964 | sibling_leaf = info_list + index | 
| Name | Describe | 
|---|---|
| __populate_cache_leaves | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |