lkml.org 
[lkml]   [2013]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 00/40] CPU hotplug rework - episode I
On Thu, 31 Jan 2013 15:44:10 -0000
Thomas Gleixner <tglx@linutronix.de> 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 ;)


\
 
 \ /
  Last update: 2013-01-31 22:03    [W:0.357 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site