Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86: Improve the printout of the SMP bootup CPU table
As the new x86 CPU bootup printout format code maintainer, I am taking immediate action to improve and clean (and thus indulge my OCD) the reporting of the cores when coming up online. Fix padding to a right-hand alignment, cleanup code and bind reporting width to the max number of supported CPUs on the system, like this: [ 0.074509] smpboot: Booting Node 0, Processors: zen-kernel#1 zen-kernel#2 zen-kernel#3 zen-kernel#4 zen-kernel#5 zen-kernel#6 zen-kernel#7 OK [ 0.644008] smpboot: Booting Node 1, Processors: zen-kernel#8 zen-kernel#9 zen-kernel#10 zen-kernel#11 zen-kernel#12 zen-kernel#13 zen-kernel#14 zen-kernel#15 OK [ 1.245006] smpboot: Booting Node 2, Processors: zen-kernel#16 zen-kernel#17 zen-kernel#18 zen-kernel#19 zen-kernel#20 zen-kernel#21 zen-kernel#22 zen-kernel#23 OK [ 1.864005] smpboot: Booting Node 3, Processors: zen-kernel#24 zen-kernel#25 zen-kernel#26 zen-kernel#27 zen-kernel#28 zen-kernel#29 zen-kernel#30 zen-kernel#31 OK [ 2.489005] smpboot: Booting Node 4, Processors: zen-kernel#32 zen-kernel#33 zen-kernel#34 zen-kernel#35 zen-kernel#36 zen-kernel#37 zen-kernel#38 zen-kernel#39 OK [ 3.093005] smpboot: Booting Node 5, Processors: zen-kernel#40 zen-kernel#41 zen-kernel#42 zen-kernel#43 zen-kernel#44 zen-kernel#45 zen-kernel#46 zen-kernel#47 OK [ 3.698005] smpboot: Booting Node 6, Processors: zen-kernel#48 zen-kernel#49 zen-kernel#50 zen-kernel#51 zen-kernel#52 zen-kernel#53 zen-kernel#54 zen-kernel#55 OK [ 4.304005] smpboot: Booting Node 7, Processors: zen-kernel#56 zen-kernel#57 zen-kernel#58 zen-kernel#59 zen-kernel#60 zen-kernel#61 zen-kernel#62 zen-kernel#63 OK [ 4.961413] Brought up 64 CPUs and this: [ 0.072367] smpboot: Booting Node 0, Processors: zen-kernel#1 zen-kernel#2 zen-kernel#3 zen-kernel#4 zen-kernel#5 zen-kernel#6 zen-kernel#7 OK [ 0.686329] Brought up 8 CPUs Signed-off-by: Borislav Petkov <[email protected]> Cc: Libin <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
- Loading branch information