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

David S. Miller
2001-10-09T05:56:00Z

From: "Paul McKenney" <Paul.McKenney@us.ibm.com>
Date: Mon, 8 Oct 2001 22:27:44 -0700

All other CPUs must observe the preceding stores before the following
stores.
...
Does this do the trick?

membar #StoreStore

Yes.

The IPIs and related junk are I believe needed only on Alpha, which has
no single memory-barrier instruction that can do wmbdd()'s job. Given
that Alpha seems to be on its way out, this did not seem to me to be
too horrible.

I somehow doubt that you need an IPI to implement the equivalent of
"membar #StoreStore" on Alpha. Richard?

Franks a lot,
David S. Miller
davem@redhat.com