Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1460839

[PATCH memory-barriers.txt 3/4] Doc/memory-barriers: Fix a typo of example result

From "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject [PATCH memory-barriers.txt 3/4] Doc/memory-barriers: Fix a typo of example result
Date 2016-08-12 00:30 +0200
Message-ID <s56Ea-1t7-15@gated-at.bofh.it> (permalink)
References <s56Ea-1t7-3@gated-at.bofh.it> <s56E9-1t7-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: SeongJae Park <sj38.park@gmail.com>

An example result for data dependent write has a typo.  This commit
fixes the wrong typo.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
 Documentation/memory-barriers.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt
index 19c8eb6f246e..ba818ecce6f9 100644
--- a/Documentation/memory-barriers.txt
+++ b/Documentation/memory-barriers.txt
@@ -609,7 +609,7 @@ A data-dependency barrier must also order against dependent writes:
 The data-dependency barrier must order the read into Q with the store
 into *Q.  This prohibits this outcome:
 
-	(Q == B) && (B == 4)
+	(Q == &B) && (B == 4)
 
 Please note that this pattern should be rare.  After all, the whole point
 of dependency ordering is to -prevent- writes to the data structure, along
-- 
2.5.2

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH memory-barriers.txt 1/4] memory-barriers.txt: Maintain consistent blank line "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-08-12 00:30 +0200
  [PATCH memory-barriers.txt 2/4] memory-barriers.txt: Fix wrong section reference "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-08-12 00:30 +0200
    [tip:locking/core] locking/Documentation: Fix wrong section  reference tip-bot for SeongJae Park <tipbot@zytor.com> - 2016-08-12 10:30 +0200
  [PATCH memory-barriers.txt 3/4] Doc/memory-barriers: Fix a typo of example result "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-08-12 00:30 +0200
    [tip:locking/core] locking/Documentation: Fix a typo of example  result tip-bot for SeongJae Park <tipbot@zytor.com> - 2016-08-12 10:30 +0200
  [tip:locking/core] locking/Documentation: Maintain consistent blank  line tip-bot for SeongJae Park <tipbot@zytor.com> - 2016-08-12 10:30 +0200

csiph-web