From: SeongJae Park <sj38.park@xxxxxxxxx> 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 <sj38.park@xxxxxxxxx> --- 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