Re: [lhcs-devel] Re: [PATCH][2.6-mm] i386 Hotplug CPU

From: Zwane Mwaikambo
Date: Sat Aug 14 2004 - 22:16:53 EST


On Wed, 11 Aug 2004, Zwane Mwaikambo wrote:

> Yeah i recall you mentioning this earlier, i'll look into adding the
> necessary bits so that you have enough state to resume from. Your
> mentioning this was one of the reasons i wanted this in.

Pavel, considering that the processor is in a quiescent state when it's in
the idle thread, can't we simply restart them all when we do the final
sleep? So on the resume, we steer the APs straight into the offline cpu
spin and manually bring them up again when the BSP has resumed? I reckon
we don't have to save any state at all. I probably don't have the full
picture yet so feel free to set me straight.

Thanks,
Zwane
-
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/