Discussions of the Parallel Programming book
 help / color / mirror / Atom feed
* [PATCH 1/2] memorder: Express `value-returning RMW` more explicitly
@ 2017-09-02  2:49 SeongJae Park
  2017-09-02  2:49 ` [PATCH 2/2] memorder: Add missed closing parenthesis SeongJae Park
  2017-09-02 16:12 ` [PATCH 1/2] memorder: Express `value-returning RMW` more explicitly Paul E. McKenney
  0 siblings, 2 replies; 3+ messages in thread
From: SeongJae Park @ 2017-09-02  2:49 UTC (permalink / raw)
  To: paulmck; +Cc: perfbook, SeongJae Park

A sentence represents `Successful Non-Relaced Non-void RMW' row in
`Linux-Kernel Memory-Ordering Cheat Sheet` as `value-returning RMW` row.
Because it is far different expression, some reader may confuse.  This
commit remove the confuse by representing the row with exactly same
words.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
---
 memorder/memorder.tex | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/memorder/memorder.tex b/memorder/memorder.tex
index 3e85eca..5e7176e 100644
--- a/memorder/memorder.tex
+++ b/memorder/memorder.tex
@@ -507,9 +507,9 @@ The \co{*_acquire} row covers \co{smp_load_acquire()},
 \co{cmpxchg_acquire()}, \co{xchg_release()}, and so on;
 the \co{*_release} row covers \co{smp_store_release()},
 \co{cmpxchg_release()}, \co{xchg_release()}, and so on; and
-the value-returning RMW row covers \co{atomic_add_return()},
-\co{atomic_add_unless()},
-\co{atomic_dec_and_test()}, \co{cmpxchg()}, \co{xchg()}, and so on.
+the ``Successful Non-Relaxed Non-\co{void} RMW'' row covers
+\co{atomic_add_return()}, \co{atomic_add_unless()}, \co{atomic_dec_and_test()},
+\co{cmpxchg()}, \co{xchg()}, and so on.
 The ``Successful'' qualifiers apply to primitives such as
 \co{atomic_add_unless()}, \co{cmpxchg_acquire()}, and \co{cmpxchg_release()},
 which have no effect on either memory or on ordering when they indicate
-- 
2.10.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-02 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-02  2:49 [PATCH 1/2] memorder: Express `value-returning RMW` more explicitly SeongJae Park
2017-09-02  2:49 ` [PATCH 2/2] memorder: Add missed closing parenthesis SeongJae Park
2017-09-02 16:12 ` [PATCH 1/2] memorder: Express `value-returning RMW` more explicitly Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox