Re: Question about DEC Alpha memory ordering

2017-02-14 Thread Andrea Parri
On Wed, Feb 15, 2017 at 08:26:46AM +1300, Michael Cree wrote: > On Tue, Feb 14, 2017 at 12:35:58PM +0100, Andrea Parri wrote: > > On Mon, Feb 13, 2017 at 01:24:36PM -0800, Paul E. McKenney wrote: > > > > > > > > > C auto/C-LB

Re: Question about DEC Alpha memory ordering

2017-02-14 Thread Michael Cree
On Tue, Feb 14, 2017 at 12:35:58PM +0100, Andrea Parri wrote: > On Mon, Feb 13, 2017 at 01:24:36PM -0800, Paul E. McKenney wrote: > > > > > > C auto/C-LB-LRW+OB-Ov > > (* > > * Result: Maybe > > * P0-P1 rf OB-Ov: Never->May

Re: Question about DEC Alpha memory ordering

2017-02-14 Thread Andrea Parri
On Mon, Feb 13, 2017 at 01:24:36PM -0800, Paul E. McKenney wrote: > On Mon, Feb 13, 2017 at 04:06:21PM -0500, Alan Stern wrote: > > On Mon, 13 Feb 2017, Paul E. McKenney wrote: > > > > > On Mon, Feb 13, 2017 at 08:14:23PM +0100, Tobias Klausmann wrote: > > > > Hi! > > > > > > > > On Mon, 13 Feb

Re: Question about DEC Alpha memory ordering

2017-02-13 Thread Paul E. McKenney
On Mon, Feb 13, 2017 at 04:06:21PM -0500, Alan Stern wrote: > On Mon, 13 Feb 2017, Paul E. McKenney wrote: > > > On Mon, Feb 13, 2017 at 08:14:23PM +0100, Tobias Klausmann wrote: > > > Hi! > > > > > > On Mon, 13 Feb 2017, Paul E. McKenney wrote: > > > > On Mon, Feb 13, 2017 at 01:53:27PM -0500,

Re: Question about DEC Alpha memory ordering

2017-02-13 Thread Alan Stern
On Mon, 13 Feb 2017, Paul E. McKenney wrote: > On Mon, Feb 13, 2017 at 08:14:23PM +0100, Tobias Klausmann wrote: > > Hi! > > > > On Mon, 13 Feb 2017, Paul E. McKenney wrote: > > > On Mon, Feb 13, 2017 at 01:53:27PM -0500, bob smith wrote: > > > > On 2/13/17 1:39 PM, Paul E. McKenney wrote: > > >

Re: Question about DEC Alpha memory ordering

2017-02-13 Thread Paul E. McKenney
On Tue, Feb 14, 2017 at 08:23:34AM +1300, Michael Cree wrote: > Hi Paul, > > On Mon, Feb 13, 2017 at 11:09:31AM -0800, Paul E. McKenney wrote: > > On Mon, Feb 13, 2017 at 01:53:27PM -0500, bob smith wrote: > > > On 2/13/17 1:39 PM, Paul E. McKenney wrote: > > > > can real DEC Alpha hardware end up

Re: Question about DEC Alpha memory ordering

2017-02-13 Thread Paul E. McKenney
On Mon, Feb 13, 2017 at 08:14:23PM +0100, Tobias Klausmann wrote: > Hi! > > On Mon, 13 Feb 2017, Paul E. McKenney wrote: > > On Mon, Feb 13, 2017 at 01:53:27PM -0500, bob smith wrote: > > > On 2/13/17 1:39 PM, Paul E. McKenney wrote: > > > > can real DEC Alpha hardware end up with both instances

Re: Question about DEC Alpha memory ordering

2017-02-13 Thread bob smith
On 2/13/17 1:39 PM, Paul E. McKenney wrote: > can real DEC Alpha hardware end up with both instances of "r1" > having the value 1? I thought this question reminded me of something, so I found this: > https://www.kernel.org/doc/Documentation/memory-barriers.txt and I pasted in the content - David

Re: Question about DEC Alpha memory ordering

2017-02-13 Thread Tobias Klausmann
Hi! On Mon, 13 Feb 2017, Paul E. McKenney wrote: > On Mon, Feb 13, 2017 at 01:53:27PM -0500, bob smith wrote: > > On 2/13/17 1:39 PM, Paul E. McKenney wrote: > > > can real DEC Alpha hardware end up with both instances of "r1" > > > having the value 1? > > > > I thought this question reminded me

Re: Question about DEC Alpha memory ordering

2017-02-13 Thread Michael Cree
Hi Paul, On Mon, Feb 13, 2017 at 11:09:31AM -0800, Paul E. McKenney wrote: > On Mon, Feb 13, 2017 at 01:53:27PM -0500, bob smith wrote: > > On 2/13/17 1:39 PM, Paul E. McKenney wrote: > > > can real DEC Alpha hardware end up with both instances of "r1" > > > having the value 1? > > > > I thought

Re: Question about DEC Alpha memory ordering

2017-02-13 Thread Paul E. McKenney
On Mon, Feb 13, 2017 at 01:53:27PM -0500, bob smith wrote: > On 2/13/17 1:39 PM, Paul E. McKenney wrote: > > can real DEC Alpha hardware end up with both instances of "r1" > > having the value 1? > > I thought this question reminded me of something, so I found this: > > https://www.kernel.org/doc/

Re: Question about DEC Alpha memory ordering

2017-02-13 Thread Will Deacon
On Mon, Feb 13, 2017 at 01:53:27PM -0500, bob smith wrote: > On 2/13/17 1:39 PM, Paul E. McKenney wrote: > > can real DEC Alpha hardware end up with both instances of "r1" > > having the value 1? > > I thought this question reminded me of something, so I found this: > > https://www.kernel.org/doc/

Question about DEC Alpha memory ordering

2017-02-13 Thread Paul E. McKenney
Hello! We have a question about DEC Alpha memory ordering. Given the litmus test shown at the end of this email, some of us believe that DEC Alpha won't ever have both P0()'s and P1()'s READ_ONCE() calls return 1, but others believe otherwise. Our current Linux-kernel memory mod