svn commit: r333335 - head/sys/x86/x86

Warner Losh imp at FreeBSD.org
Mon May 7 21:09:23 UTC 2018


Author: imp
Date: Mon May  7 21:09:21 2018
New Revision: 333335
URL: https://svnweb.freebsd.org/changeset/base/333335

Log:
  Put the CPU starting on one line.

Modified:
  head/sys/x86/x86/mp_x86.c

Modified: head/sys/x86/x86/mp_x86.c
==============================================================================
--- head/sys/x86/x86/mp_x86.c	Mon May  7 21:09:17 2018	(r333334)
+++ head/sys/x86/x86/mp_x86.c	Mon May  7 21:09:21 2018	(r333335)
@@ -1020,7 +1020,11 @@ init_secondary_tail(void)
 	smp_cpus++;
 
 	CTR1(KTR_SMP, "SMP: AP CPU #%d Launched", cpuid);
-	printf("SMP: AP CPU #%d Launched!\n", cpuid);
+	if (bootverbose)
+		printf("SMP: AP CPU #%d Launched!\n", cpuid);
+	else
+		printf("%s%d%s", smp_cpus == 2 ? "Launching APs: " : "",
+		    cpuid, smp_cpus == mp_ncpus ? "\n" : " ");
 
 	/* Determine if we are a logical CPU. */
 	if (cpu_info[PCPU_GET(apic_id)].cpu_hyperthread)


More information about the svn-src-head mailing list