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

From: Paul E. McKenney (pmckenne@us.ibm.com)
Date: Sat Oct 13 2001 - 09:48:30 EST


>> Here are two patches. The wmbdd patch has been modified to use
>> the lighter-weight SPARC instruction, as suggested by Dave Miller.
>> The rmbdd patch defines an rmbdd() primitive that is defined to be
>> rmb() on Alpha and a nop on other architectures. I believe this
>> rmbdd() primitive is what Richard is looking for.
>
>Surely we don't need both? If rmbdd exists, any code needing wmbdd
>is terminally broken?

One or the other. And at this point, it looks like rmbdd() (or
read_cache_depends()) is the mechanism of choice, given wmbdd()'s
performance on Alpha.

                                                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:49 EST