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

From: David S. Miller (davem@redhat.com)
Date: Tue Oct 09 2001 - 00:56:10 EST


   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/



This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:23 EST