Function report |
Source Code:arch\x86\kernel\cpu\cacheinfo.c |
Create Date:2022-07-28 07:54:03 |
Last Modify:2020-03-16 20:07:28 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__cache_amd_cpumap_setup
Proto:static int __cache_amd_cpumap_setup(unsigned int cpu, int index, struct _cpuid4_info_regs *base)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | cpu | |
int | index | |
struct _cpuid4_info_regs * | base |
880 | this_cpu_ci = get_cpu_cacheinfo(cpu) |
888 | If index == 3 Then |
890 | this_cpu_ci = get_cpu_cacheinfo(i) |
891 | If Not info_list Then Continue |
895 | If Not cpu_online(sibling) Then Continue |
901 | Else if boot_cpu_has(Topology extensions CPUID leafs ) Then |
904 | nshared = num_threads_sharing + 1 |
909 | for_each_online_cpu(i) |
910 | this_cpu_ci = get_cpu_cacheinfo(i) |
911 | If Not info_list Then Continue |
928 | Else Return 0 |
931 | Return 1 |
Name | Describe |
---|---|
__cache_cpumap_setup |
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 |