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

From: Paul McKenney (Paul.McKenney@us.ibm.com)
Date: Wed Oct 10 2001 - 16:47:05 EST


> 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/



This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:35 EST