Re: [PATCH] doc: memory-barriers.txt: Correct example for reorderings

2014-09-02 Thread Pranith Kumar
On Tue, Sep 2, 2014 at 12:08 PM, Paul E. McKenney wrote: > Could you please adjust in this way? Again, the point is to be the > first few items in a full set of permutations, not to illustrate selected > orderings/outcomes. > OK, if that is the case then replacing x with y is much easier. I wil

Re: [PATCH] doc: memory-barriers.txt: Correct example for reorderings

2014-09-02 Thread Paul E. McKenney
On Thu, Aug 28, 2014 at 05:45:10PM -0400, Pranith Kumar wrote: > On Thu, Aug 28, 2014 at 5:39 PM, Paul E. McKenney > wrote: > > On Thu, Aug 28, 2014 at 05:15:50PM -0400, Pranith Kumar wrote: > >> On Thu, Aug 28, 2014 at 5:00 PM, Paul E. McKenney > >> wrote: > >> > > >> > I am really confused by t

Re: [PATCH] doc: memory-barriers.txt: Correct example for reorderings

2014-08-28 Thread Pranith Kumar
On Thu, Aug 28, 2014 at 5:39 PM, Paul E. McKenney wrote: > On Thu, Aug 28, 2014 at 05:15:50PM -0400, Pranith Kumar wrote: >> On Thu, Aug 28, 2014 at 5:00 PM, Paul E. McKenney >> wrote: >> > >> > I am really confused by the ordering of the new lines, as I would have >> > expected the "x"s to be re

Re: [PATCH] doc: memory-barriers.txt: Correct example for reorderings

2014-08-28 Thread Paul E. McKenney
On Thu, Aug 28, 2014 at 05:15:50PM -0400, Pranith Kumar wrote: > On Thu, Aug 28, 2014 at 5:00 PM, Paul E. McKenney > wrote: > > > > I am really confused by the ordering of the new lines, as I would have > > expected the "x"s to be replaced with "y"s and vice versa. But the > > ordering of the var

Re: [PATCH] doc: memory-barriers.txt: Correct example for reorderings

2014-08-28 Thread Pranith Kumar
On Thu, Aug 28, 2014 at 5:00 PM, Paul E. McKenney wrote: > > I am really confused by the ordering of the new lines, as I would have > expected the "x"s to be replaced with "y"s and vice versa. But the > ordering of the various combinations does not matter, and each line > looks OK. > Since x = A

[PATCH] doc: memory-barriers.txt: Correct example for reorderings

2014-08-25 Thread Pranith Kumar
Correct the example of memory orderings in memory-barriers.txt Commit 615cc2c9cf95 "Documentation/memory-barriers.txt: fix important typo re memory barriers" changed the assignment to x and y. Change the rest of the example to match this change. Reported-by: Ganesh Rapolu Signed-off-by: Pranith