Re: RFC: patch to allow lock-free traversal of lists with insertion

Paul McKenney
2001-10-10T21:51:33Z

> On Wed, Oct 10, 2001 at 01:33:58PM +1000, Paul Mackerras wrote:
> > 1. Define an rmbdd() which is a no-op on all architectures except for
> > alpha, where it is an rmb. Richard can then have the job of
> > finding all the places where an rmbdd is needed, which sounds like
> > one of the smellier labors of Hercules to me. :)
>
> I don't think it's actually all that bad. There won't be all
> that many places that require the rmbdd, and they'll pretty
> much exactly correspond to the places in which you have to put
> wmb for all architectures anyway.

Just to make sure I understand... This rmbdd() would use IPIs to
get all the CPUs' caches synchronized, right? Or do you have some
other trick up your sleeve? ;-)

Thanx, Paul