Messages in this thread | | | Date | Mon, 23 Sep 2013 18:02:54 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH] hotplug: Optimize {get,put}_online_cpus() |
| |
On Mon, Sep 23, 2013 at 11:59:08AM -0400, Steven Rostedt wrote: > On Mon, 23 Sep 2013 17:22:23 +0200 > Peter Zijlstra <peterz@infradead.org> wrote: > > > Still no point in using srcu for this; preempt_disable + > > synchronize_sched() is similar and much faster -- its the rcu_sched > > equivalent of what you propose. > > To be honest, I sent this out last week and it somehow got trashed by > my laptop and connecting to my smtp server. Where the last version of > your patch still had the memory barrier ;-)
Ah, ok, yes in that case things start to make sense again.
| |