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

Paul McKenney (Paul.McKenney@us.ibm.com)
Wed, 10 Oct 2001 14:47:05 -0700


> 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

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