[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.0610231005280.6401-100000@iolanthe.rowland.org>
Date: Mon, 23 Oct 2006 10:07:28 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: "Paul E. McKenney" <paulmck@...ibm.com>
cc: David Howells <dhowells@...hat.com>,
Kernel development list <linux-kernel@...r.kernel.org>
Subject: Re: Uses for memory barriers
On Sun, 22 Oct 2006, Paul E. McKenney wrote:
> How about ld_i(A) => ld_j(A)? This would say that both loads corresponded
> to the same store.
> > How about this instead: "A==>B" means that B sees the value stored by A,
> > and "A==B" means that A and B are both loads and they see the value from
> > the same store. That way we avoid putting a load on the left side of
> > "==>".
>
> My concern is that "==" might also have connotations of equal values from
> distinct stores.
Okay, here's another suggestion: ld_i(A) <=> ld_j(A). This avoids
connotations of ordering and indicates the symmetry of the relation: both
loads return data from the same store.
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists