public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -v5 0/5] Shutdown from reboot_cpuid without stopping other cpus.
@ 2013-04-17 18:43 Robin Holt
  2013-04-17 18:43 ` [PATCH -v5 1/5] CPU hotplug: Provide a generic helper to disable/enable CPU hotplug Robin Holt
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Robin Holt @ 2013-04-17 18:43 UTC (permalink / raw)
  To: Ingo Molnar, H. Peter Anvin, Srivatsa S. Bhat, Russ Anderson
  Cc: Linux Kernel Mailing List, the arch/x86 maintainers

We recently noticed that reboot of a 1024 cpu machine takes approx 16
minutes of just stopping the cpus.  The slowdown was tracked to commit
f96972f.

The current implementation does all the work of hot removing the cpus
before halting the system.  We are switching to just migrating to the
reboot_cpuid and then continuing with shutdown/reboot.

The patch set is broken into five parts.  The first two are planned for
the stable release.  The others move the halt/shutdown/reboot related
functions to their own kernel/reboot.c file and then introduce the kernel
boot parameter.


Changes since -v4.
 - Integrated Srivatsa S. Bhat creating cpu_hotplug_disable()
   function

 - Integrated comments by Srivatsa S. Bhat.

 - Made one more comment consistent with others in function.

Changes since -v3.
 - Added a tested-by for the original reporter.

 - Fix compile failure found by Joe Perches.

 - Integrated comments by Joe Perches.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-04-18  2:04 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-17 18:43 [PATCH -v5 0/5] Shutdown from reboot_cpuid without stopping other cpus Robin Holt
2013-04-17 18:43 ` [PATCH -v5 1/5] CPU hotplug: Provide a generic helper to disable/enable CPU hotplug Robin Holt
2013-04-17 18:43 ` [PATCH -v5 2/5] Migrate shutdown/reboot to boot cpu Robin Holt
2013-04-17 18:43 ` [PATCH -v5 3/5] Move shutdown/reboot related functions to kernel/reboot.c Robin Holt
2013-04-17 18:43 ` [PATCH -v5 4/5] checkpatch.pl the new kernel/reboot.c file Robin Holt
2013-04-17 19:13   ` Robin Holt
2013-04-17 18:43 ` [PATCH -v5 5/5] Make reboot_cpuid a kernel parameter Robin Holt
2013-04-17 19:37   ` H. Peter Anvin
2013-04-17 19:48     ` Robin Holt
2013-04-17 19:55       ` H. Peter Anvin
2013-04-17 19:59       ` H. Peter Anvin
2013-04-17 20:15         ` Robin Holt
2013-04-18  0:17           ` Robin Holt
2013-04-18  0:28             ` H. Peter Anvin
2013-04-18  0:39             ` H. Peter Anvin
2013-04-18  1:25               ` Robin Holt
2013-04-18  2:04                 ` Robin Holt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox