Re: [patch 00/40] CPU hotplug rework - episode I

From: Andrew Morton
Date: Thu Jan 31 2013 - 15:23:50 EST


On Thu, 31 Jan 2013 15:44:10 -0000
Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:

> At the end hotplug should run through an array of callbacks on both
> sides with explicit core synchronization points. The ordering should
> look like this:
>
> CPUHP_OFFLINE // Start state.
> CPUHP_PREP_<hardware> // Kick CPU into life / let it die
> CPUHP_PREP_<datastructures> // Get datastructures set up / freed.
> CPUHP_PREP_<threads> // Create threads for cpu
> CPUHP_SYNC // Synchronization point
> CPUHP_INIT_<hardware> // Startup/teardown on the CPU (interrupts, timers ...)
> CPUHP_SCHED_<stuff on CPU> // Unpark/park per cpu local threads on the CPU.
> CPUHP_ENABLE_<stuff_on_CPU> // Enable/disable facilities
> CPUHP_SYNC // Synchronization point
> CPUHP_SCHED // Expose/remove CPU from general scheduler.
> CPUHP_ONLINE // Final state

What does CPUHP_SYNC do?

Methinks Tejun needed a cc on this lot ;)
--
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/