Re: [PATCH] An RCU for SMP with a single CPU garbage collector

From: Frederic Weisbecker
Date: Wed Mar 09 2011 - 17:29:27 EST


On Mon, Mar 07, 2011 at 04:16:13PM -0500, Joe Korty wrote:
> On Mon, Mar 07, 2011 at 04:01:57PM -0500, Paul E. McKenney wrote:
> > Interesting!
> >
> > But I would really prefer leveraging the existing RCU implementations
> > to the extent possible. Are the user-dedicated CPUs able to invoke
> > system calls? If so, something like Frederic's approach should permit
> > the existing RCU implementations to operate normally. If not, what is
> > doing the RCU read-side critical sections on the dedicated CPUs?
> >
> > Thanx, Paul
>
> I haven't seen Frederic's patch. Sorry I missed it!
> It might have saved a bit of work...

I'm sorry it's my fault, I should have Cc'ed you in my nohz task series.

It's here: https://lkml.org/lkml/2010/12/20/209 and the rcu changes
are spread in severals patches of the series. The idea is to
switch to extended quiescent state when we resume to userspace but
temporarily exit that state when we trigger an exception or an
irq. Then exit extended quiescent state when we enter the kernel
again.

I'll soon look at the last patchset you've posted.
--
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/