[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-8b9e771555745a029557a0a481e760fb84376a35@git.kernel.org>
Date: Fri, 12 Aug 2016 01:26:14 -0700
From: tip-bot for SeongJae Park <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: mingo@...nel.org, tglx@...utronix.de, paulmck@...ux.vnet.ibm.com,
peterz@...radead.org, torvalds@...ux-foundation.org,
linux-kernel@...r.kernel.org, sj38.park@...il.com, hpa@...or.com
Subject: [tip:locking/core] locking/Documentation: Fix a typo of example
result
Commit-ID: 8b9e771555745a029557a0a481e760fb84376a35
Gitweb: http://git.kernel.org/tip/8b9e771555745a029557a0a481e760fb84376a35
Author: SeongJae Park <sj38.park@...il.com>
AuthorDate: Thu, 11 Aug 2016 11:17:42 -0700
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Fri, 12 Aug 2016 08:24:13 +0200
locking/Documentation: Fix a typo of example result
An example result for data dependent write has a typo. This commit
fixes the wrong typo.
Signed-off-by: SeongJae Park <sj38.park@...il.com>
Signed-off-by: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: dhowells@...hat.com
Cc: linux-arch@...r.kernel.org
Cc: will.deacon@....com
Link: http://lkml.kernel.org/r/1470939463-31950-3-git-send-email-paulmck@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
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 19c8eb6..ba818ec 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
Powered by blists - more mailing lists