Re: RFC: patch to allow lock-free traversal of lists with insertion
Paul E. McKenney (pmckenne@us.ibm.com)
Sat, 13 Oct 2001 07:48:30 -0700 (PDT)
>> 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/