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

From: Paul E. McKenney (
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
More majordomo info at
Please read the FAQ at

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