memory-barriers: Fix description of 2-legged-if-based control dependencies
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 13 Aug 2014 22:40:02 +0000 (15:40 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 7 Sep 2014 23:15:53 +0000 (16:15 -0700)
commit2456d2a617de0a37a0f8d1e44f4b270172c4f17a
tree92eef2cfcedc013b96009f099b52f99301bcb499
parentefdcd51a4d5bd355796b1a757ff0355bb09ed394
memory-barriers: Fix description of 2-legged-if-based control dependencies

Sad to say, current compilers really will hoist identical stores from both
branches of an "if" statement to precede the conditional.  This commit
therefore updates the description of control dependencies to reflect this
ugly reality.

Reported-by: Pranith Kumar <bobby.prani@gmail.com>
Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Documentation/memory-barriers.txt