memory-barriers: Fix control-ordering no-transitivity example
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 26 Jul 2014 00:05:24 +0000 (17:05 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 7 Sep 2014 23:15:41 +0000 (16:15 -0700)
commit5646f7acc95f14873f1ec715380c1c493b4243ce
tree7a1a362a08ea7fe599226af082dff7182ac0a7dc
parent11ed7f934cb807f26da09547b5946c2e534d1dac
memory-barriers: Fix control-ordering no-transitivity example

The control-ordering example demonstrating lack of transitivity had
multiple problems.  This commit fixes them.

Reported-by: Nikolay Samofatov <nikolay.samofatov@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
Documentation/memory-barriers.txt