Re: [RFC PATCH] sys_membarrier(): system/process-wide memory barrier (x86) (v12)
From: Paul E. McKenney
Date: Tue Mar 17 2015 - 08:14:28 EST
On Tue, Mar 17, 2015 at 04:56:08AM -0700, Paul E. McKenney wrote:
> On Tue, Mar 17, 2015 at 07:30:59AM +0100, Peter Zijlstra wrote:
> > On Tue, Mar 17, 2015 at 01:45:25AM +0000, Mathieu Desnoyers wrote:
>
> [ . . . ]
>
> > > Then we can add
> > > the expedited-private implementation after rq->curr becomes
> > > available through RCU.
> >
> > Yeah, or not at all; I'm still trying to get Paul to remove the
> > expedited nonsense from the kernel RCU bits; and now you want it in
> > userspace too :/
>
> Well, the expedited RCU primitives got added for some use cases, and
> those use cases are still with us. ;-)
And, as I was meaning to say -before- I hit send... I still have some
changes in mind to make the expedited RCU primitives at least somewhat
more friendly, for example, moving from try_stop_cpus() to something
like on_each_cpu_mask().
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/