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

David S. Miller (davem@redhat.com)
Mon, 08 Oct 2001 22:56:10 -0700 (PDT)


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