Re: [PATCH] Do not force shutdown/reboot to boot cpu.

From: H. Peter Anvin
Date: Wed Apr 10 2013 - 13:58:27 EST


On 04/10/2013 09:59 AM, Ingo Molnar wrote:
>
> 4 minutes bootup is 240 seconds, with 1024 CPUs that's about 240 msecs per CPU.
>
> That sounds a lot, given that unlike bootup there's not much real work to be done
> during shutdown - we don't initialize anything, etc.
>
> Maybe much of those 240 msecs are spent in some stupid udelay loop or so, which
> could be made parallel?
>

I wonder if it isn't calling stop_machine() 1024 times, each time
rendezvousing all the still-active CPUs.

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/