All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] kernel-smp-tell-the-user-were-bringing-up-secondary-cpus.patch removed from -mm tree
@ 2016-10-28 18:31 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2016-10-28 18:31 UTC (permalink / raw)
  To: mpe, ak, boris.ostrovsky, bp, hpa, jgross, jolsa, len.brown,
	mgorman, mingo, peterz, richard, tglx, tim.c.chen, mm-commits


The patch titled
     Subject: kernel/smp.c: tell the user we're bringing up secondary CPUs
has been removed from the -mm tree.  Its filename was
     kernel-smp-tell-the-user-were-bringing-up-secondary-cpus.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Michael Ellerman <mpe@ellerman.id.au>
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@ellerman.id.au
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Borislav Petkov <bp@suse.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Juergen Gross <jgross@suse.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Richard Weinberger <richard@nod.at>
Cc: Len Brown <len.brown@intel.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Tim Chen <tim.c.chen@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 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@ellerman.id.au are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-28 18:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-28 18:31 [merged] kernel-smp-tell-the-user-were-bringing-up-secondary-cpus.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.