]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - Documentation/memory-barriers.txt
memory-barriers.txt: Fix typo in pairing example
authorScott Tsai <scottt@scottt.tw>
Tue, 19 Sep 2017 18:16:00 +0000 (02:16 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 20 Oct 2017 18:09:32 +0000 (11:09 -0700)
commitd92f842bb30f52beedad63a4a850b39ca0dbc45f
tree03d81db6292daff1a2932584b6fc0f3234327394
parent0902b1f44a72558aece92f074154044861681f84
memory-barriers.txt: Fix typo in pairing example

In the "general barrier pairing with implicit control depdendency"
example, the last write by CPU 1 was meant to change variable x and not
y. The example would be pretty uninteresting if no CPU ever changes x
and the variable was initialized to zero.

Signed-off-by: Scott Tsai <scottt@scottt.tw>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Documentation/memory-barriers.txt