函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Prepare for SMP bootup.*@max_cpus: configured maximum number of CPUs, It is a legacy parameter* for common interface support.

函数原型:void __init native_smp_prepare_cpus(unsigned int max_cpus)

返回类型:void

参数:

类型参数名称
unsigned intmax_cpus
1314  smp_cpu_index_default()
1319  smp_store_boot_cpu_info()
1320  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
1321  Force strict CPU ordering.* And yes, this might be required on UP too when we're talking* to devices.()
1323  遍历可用CPU(i)
1324  zalloc_cpumask_var( & per_cpu(presenting HT siblings of each logical CPU , i), GFP_KERNEL)
1325  zalloc_cpumask_var( & per_cpu(presenting HT and core siblings of each logical CPU , i), GFP_KERNEL)
1326  zalloc_cpumask_var( & per_cpu(presenting HT, core, and die siblings of each logical CPU , i), GFP_KERNEL)
1327  zalloc_cpumask_var( & per_cpu(cpu_llc_shared_map, i), GFP_KERNEL)
1337  set_sched_topology(x86_topology)
1339  set_cpu_sibling_map(0)
1341  Various sanity checks.
1344  :apic_intr_mode恒等于APIC_PIC
1345  :apic_intr_mode恒等于APIC_VIRTUAL_WIRE_NO_CONFIG
1346  Fall back to non SMP mode after errors.* RED-PEN audit/test this more. I bet there is more state messed up here.
1347  返回
1348  :apic_intr_mode恒等于APIC_SYMMETRIC_IO_NO_ROUTING
1349  Fall back to non SMP mode after errors.* RED-PEN audit/test this more. I bet there is more state messed up here.
1351  设置每个CPU的时钟事件()
1352  返回
1353  :apic_intr_mode恒等于APIC_VIRTUAL_WIRE
1354  :apic_intr_mode恒等于APIC_SYMMETRIC_IO
1355  退出
1359  设置每个CPU的时钟事件()
1361  smp_get_logical_apicid()
1363  打印信息("CPU0: ")
1364  print_cpu_info( & cpu_data(0))
1366  uv_system_init()
1368  set_mtrr_aps_delayed_init()
1370  smp_quirk_init_udelay()
1372  speculative_store_bypass_ht_init()