Re: [RFC patch 2/5] smpboot: Provide infrastructure for percpuhotplug threads

From: Paul E. McKenney
Date: Wed Jun 13 2012 - 15:18:13 EST


On Wed, Jun 13, 2012 at 09:02:55PM +0200, Thomas Gleixner wrote:
> On Wed, 13 Jun 2012, Paul E. McKenney wrote:
> > On Wed, Jun 13, 2012 at 11:00:54AM -0000, Thomas Gleixner wrote:
> > > /* Now call notifier in preparation. */
> > > cpu_notify(CPU_ONLINE | mod, hcpu);
> > > + smpboot_unpark_threads(cpu);
> >
> > OK, RCU must use the lower-level interfaces, given that one of
> > then CPU_ONLINE notifiers might invoke synchronize_rcu().
>
> We can start the threads before the notifiers. There is no
> restriction.

Sounds very good in both cases!

Thanx, Paul

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/