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

Richard Henderson (rth@twiddle.net)
Mon, 8 Oct 2001 23:52:08 -0700


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