Function report |
Source Code:arch\x86\kernel\smpboot.c |
Create Date:2022-07-28 08:24:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Various sanity checks.
Proto:static void __init smp_sanity_check(void)
Type:void
Parameter:Nothing
1241 | If def_to_bigsmp && nr_cpu_ids > 8 Then |
1245 | pr_warn("More than 8 CPUs detected - skipping them\nUse CONFIG_X86_BIGSMP\n") |
1248 | nr = 0 |
1249 | for_each_present_cpu(cpu) |
1250 | If nr >= 8 Then set_cpu_present(cpu, false) |
1252 | nr++ |
1255 | nr = 0 |
1256 | for_each_possible_cpu(cpu) |
1257 | If nr >= 8 Then set_cpu_possible(cpu, false) |
1259 | nr++ |
1262 | nr_cpu_ids = 8 |
1266 | If Not physid_isset(hard_smp_processor_id(), phys_cpu_present_map) Then |
1267 | pr_warn("weird, boot CPU (#%d) not listed by the BIOS\n", hard_smp_processor_id()) |
1277 | If Not check_phys_apicid_present(boot_cpu_physical_apicid) Then |
1278 | pr_notice("weird, boot CPU (#%d) not listed by the BIOS\n", boot_cpu_physical_apicid) |
1282 | preempt_enable() |
Name | Describe |
---|---|
native_smp_prepare_cpus | Prepare for SMP bootup.*@max_cpus: configured maximum number of CPUs, It is a legacy parameter* for common interface support. |
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 |