[PATCH] doc: memory-barriers.txt: Add barrier() to provide ordering

2014-08-11 Thread Pranith Kumar
In the provably false case, add barrier() in both the legs of the if() condition to provide ordering. Signed-off-by: Pranith Kumar --- Documentation/memory-barriers.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt in

Re: [PATCH] doc: memory-barriers.txt: Add barrier() to provide ordering

2014-08-13 Thread Paul E. McKenney
On Mon, Aug 11, 2014 at 06:51:40PM -0400, Pranith Kumar wrote: > In the provably false case, add barrier() in both the legs of the if() > condition > to provide ordering. > > Signed-off-by: Pranith Kumar > --- > Documentation/memory-barriers.txt | 2 ++ > 1 file changed, 2 insertions(+) > > di