The patch titled Subject: kernel/smp.c: tell the user we're bringing up secondary CPUs has been added to the -mm tree. Its filename is kernel-smp-tell-the-user-were-bringing-up-secondary-cpus.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/kernel-smp-tell-the-user-were-bringing-up-secondary-cpus.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/kernel-smp-tell-the-user-were-bringing-up-secondary-cpus.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Michael Ellerman <mpe@xxxxxxxxxxxxxx> Subject: kernel/smp.c: tell the user we're bringing up secondary CPUs Currently we don't print anything before starting to bring up secondary CPUs. This can be confusing if it takes a long time to bring up the secondaries, or if the kernel crashes while doing so and produces no further output. On x86 they work around this by detecting when the first secondary CPU comes up and printing a message (see announce_cpu()). But doing it in smp_init() is simpler and works for all arches. Link: http://lkml.kernel.org/r/1477460275-8266-3-git-send-email-mpe@xxxxxxxxxxxxxx Signed-off-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx> Reviewed-by: Borislav Petkov <bp@xxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: H. Peter Anvin <hpa@xxxxxxxxx> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> Cc: Juergen Gross <jgross@xxxxxxxx> Cc: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx> Cc: Richard Weinberger <richard@xxxxxx> Cc: Len Brown <len.brown@xxxxxxxxx> Cc: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> Cc: Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx> Cc: Andi Kleen <ak@xxxxxxxxxxxxxxx> Cc: Jiri Olsa <jolsa@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/smp.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN kernel/smp.c~kernel-smp-tell-the-user-were-bringing-up-secondary-cpus kernel/smp.c --- a/kernel/smp.c~kernel-smp-tell-the-user-were-bringing-up-secondary-cpus +++ a/kernel/smp.c @@ -555,6 +555,8 @@ void __init smp_init(void) idle_threads_init(); cpuhp_threads_init(); + pr_info("Bringing up secondary CPUs ...\n"); + /* FIXME: This should be done in userspace --RR */ for_each_present_cpu(cpu) { if (num_online_cpus() >= setup_max_cpus) _ Patches currently in -mm which might be from mpe@xxxxxxxxxxxxxx are kernel-smp-define-pr_fmt-for-smpc.patch kernel-smp-make-the-smp-boot-message-common-on-all-arches.patch kernel-smp-tell-the-user-were-bringing-up-secondary-cpus.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html