Messages in this thread | | | Date | Wed, 2 Oct 2013 14:25:07 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH] hotplug: Optimize {get,put}_online_cpus() |
| |
On Wed, Oct 02, 2013 at 02:13:56PM +0200, Oleg Nesterov wrote: > On 10/02, Peter Zijlstra wrote: > > And given the construct; I'm not entirely sure you can do away with the > > sync_sched() in between. While its clear to me you can merge the two > > into one; leaving it out entirely doesn't seem right. > > Could you explain?
Somehow I thought the fastpath got enabled; it doesn't since we never hit GP_IDLE, so we don't actually need that.
You're right.
| |