Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\smpboot.c Create Date:2022-07-28 08:24:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:void __init native_smp_prepare_cpus(unsigned int max_cpus)

Type:void

Parameter:

TypeParameterName
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  for_each_possible_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  Case apic_intr_mode == APIC_PIC
1345  Case 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  Return
1348  Case 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  setup_percpu_clockev()
1352  Return
1353  Case apic_intr_mode == APIC_VIRTUAL_WIRE
1354  Case apic_intr_mode == APIC_SYMMETRIC_IO
1355  Break
1359  setup_percpu_clockev()
1361  smp_get_logical_apicid()
1363  pr_info("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()