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 Latest4 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Migrate shutdown/reboot to boot cpu.kernel/sys.c+19 -31 reply
2/4Move shutdown/reboot related functions to kernel/reboot.ckernel/Makefile kernel/reboot.c kernel/sys.c+329 -3161 reply
3/4checkpatch.pl the new kernel/reboot.c file.kernel/reboot.c+10 -124 replies
4/4Make reboot_cpuid a kernel parameter.Documentation/kernel-parameters.txt arch/x86/kernel/reboot.c kernel/reboot.c+13 -417 replies

Reviews trailers per patch

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

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

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 -v3 0/4] 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_cpuid and then continuing with shutdown/reboot.

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