[PATCH 08/10] memorder: Remove a redundant sentence for memory barrier strength

SeongJae Park <[email protected]>
Newsgroups org.kernel.vger.perfbook
Message-ID <[email protected]>
From: SeongJae Park <[email protected]>

A sentence in memorder.tex explains the strength of smp_mb() and its
cost.  Then, a quick quiz having very same answer follows.  Remove the
sentence to reduce the redundancy.

Signed-off-by: SeongJae Park <[email protected]>
---
 memorder/memorder.tex | 2 --
 1 file changed, 2 deletions(-)

diff --git a/memorder/memorder.tex b/memorder/memorder.tex
index 5ded6988..bd24b14c 100644
--- a/memorder/memorder.tex
+++ b/memorder/memorder.tex
@@ -1346,8 +1346,6 @@ illustrates this for memory barriers.
 Assuming that both memory barriers are strong enough, if CPU~1's access
 Y1 happens after CPU~0's access Y0, then CPU~1's access X1 is guaranteed
 to happen after CPU~0's access X0.
-When in doubt as to which memory barriers are strong enough, \co{smp_mb()}
-will always do the job, albeit at a price.
 
 \QuickQuiz{
 	How can you tell which memory barriers are strong enough for
-- 
2.17.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.