Messages in this thread | | | Date | Sun, 9 Dec 2012 21:22:34 +0100 | From | Oleg Nesterov <> | Subject | Re: [RFC PATCH v3 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context |
| |
On 12/10, Srivatsa S. Bhat wrote: > > On 12/10/2012 12:44 AM, Oleg Nesterov wrote: > > > But yes, it is easy to blame somebody else's code ;) And I can't suggest > > something better at least right now. If I understand correctly, we can not > > use, say, synchronize_sched() in _cpu_down() path > > We can't sleep in that code.. so that's a no-go.
But we can?
Note that I meant _cpu_down(), not get_online_cpus_atomic() or take_cpu_down().
Oleg.
| |