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

Richard Henderson
2001-10-09T06:52:06Z

On Mon, Oct 08, 2001 at 06:55:24PM -0700, Paul E. McKenney wrote:
> This is a proposal to provide a wmb()-like primitive that enables
> lock-free traversal of lists while elements are concurrently being
> inserted into these lists.

I've discussed this with you before and you continue to have
completely missed the point.

Alpha requires that you issue read-after-read memory barriers on
the reader side if you require ordering between reads. That is
the extent of the weakness of the memory ordering.

Sparc64 is the same way.

This crap will never be applied. Your algorithms are simply broken
if you do not ensure proper read ordering via the rmb() macro.

r~