Date: Mon, 7 May 2018 21:09:22 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333335 - head/sys/x86/x86 Message-ID: <201805072109.w47L9MQW019892@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805072109.w47L9MQW019892>