Re: [PATCH 01/45] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2013-06-24 Thread Steven Rostedt
On Sun, 2013-06-23 at 19:08 +0530, Srivatsa S. Bhat wrote: > The current CPU offline code uses stop_machine() internally. And disabling > preemption prevents stop_machine() from taking effect, thus also preventing > CPUs from going offline, as a side effect. > > There are places where this side-ef

[PATCH 01/45] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2013-06-23 Thread Srivatsa S. Bhat
The current CPU offline code uses stop_machine() internally. And disabling preemption prevents stop_machine() from taking effect, thus also preventing CPUs from going offline, as a side effect. There are places where this side-effect of preempt_disable() (or equivalent) is used to synchronize with