Skip to content

Shutdown from reboot_cpuid without stopping other cpus.

Robin Holt lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5CPU hotplug: Provide a generic helper to disable/enable CPU hotpluginclude/linux/cpu.h kernel/cpu.c+11 -180 replies
2/5Migrate shutdown/reboot to boot cpu.kernel/sys.c+21 -36 replies
3/5Move shutdown/reboot related functions to kernel/reboot.ckernel/Makefile kernel/reboot.c kernel/sys.c+332 -3180 replies
4/5checkpatch.pl the new kernel/reboot.c file.kernel/reboot.c+11 -130 replies
5/5Move arch/x86 reboot= handling to generic kernel.Documentation/kernel-parameters.txt arch/x86/kernel/reboot.c kernel/reboot.c+109 -1141 reply

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchShawn Guo
1/5
2/5T-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH -v6 0/5] Shutdown from reboot_cpuid without stopping other cpus.

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_cpu 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 -v5.
- Moved the arch/x86 reboot= up to the generic kernel code.

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.