Function report | 
Source Code:arch\x86\kernel\smpboot.c | 
Create Date:2022-07-28 08:24:37 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:duce the number of lines printed when booting a large cpu count system
Proto:static void announce_cpu(int cpu, int apicid)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | cpu | |
| int | apicid | 
| 896 | current_node = NUMA_NO_NODE | 
| 900 | If Not width Then width = num_digits(num_possible_cpus()) + 1 | 
| 903 | If Not node_width Then node_width = num_digits(num_possible_nodes()) + 1 | 
| 906 | If cpu == 1 Then printk(formational "x86: Booting SMP configuration:\n") | 
| 910 | If node != current_node Then | 
| 911 | If current_node > -1 Then Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("\n") | 
| 913 | current_node = node | 
| 915 | printk(formational ".... node %*s#%d, CPUs: ", node_width - num_digits(node), " ", node) | 
| Name | Describe | 
|---|---|
| do_boot_cpu | NOTE - on most systems this is a PHYSICAL apic ID, but on multiquad* (ie clustered apic addressing mode), this is a LOGICAL apic ID.* Returns zero if CPU booted OK, else error code from* ->wakeup_secondary_cpu. | 
| 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  |