All of lore.kernel.org
 help / color / mirror / Atom feed
From: Akira Yokosawa <akiyks@gmail.com>
To: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: perfbook@vger.kernel.org, Akira Yokosawa <akiyks@gmail.com>
Subject: [RFC PATCH 09/12] advsync: Move footnote on transitivity forward
Date: Sat, 1 Apr 2017 11:21:08 +0900	[thread overview]
Message-ID: <e7462be5-d7cf-9fd1-f16d-009ed036935d@gmail.com> (raw)
In-Reply-To: <b00db59a-a0b0-42d6-7546-01872ad3e404@gmail.com>

From f747b77a00951868bb2ed54cc92fd25e6eb06f31 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Sun, 26 Mar 2017 17:00:35 +0900
Subject: [RFC PATCH 09/12] advsync: Move footnote on transitivity forward

The footnote appended in commit cc477e60a0ff ("advsync: Add
footnote on transitivity") should be where "transitivity" is
first mentioned in the section.

Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
 advsync/memorybarriers.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/advsync/memorybarriers.tex b/advsync/memorybarriers.tex
index 173d7ad..942c430 100644
--- a/advsync/memorybarriers.tex
+++ b/advsync/memorybarriers.tex
@@ -2070,7 +2070,9 @@ In short, control dependencies apply only to the stores in the ``\co{then}''
 and ``\co{else}'' of the ``\co{if}'' in question (including functions
 invoked by those two clauses), not to code following that ``\co{if}''.

-Finally, control dependencies do \emph{not} provide transitivity.
+Finally, control dependencies do \emph{not} provide transitivity.\footnote{
+	Refer to Section~\ref{sec:advsync:Transitivity} for
+	the meaning of transitivity.}
 This is demonstrated by two related examples, with the initial values
 of~\co{x} and~\co{y} both being zero:

@@ -2166,9 +2168,7 @@ The following list of rules summarizes the lessons of this section:

 \item	Control dependencies pair normally with other types of barriers.

-\item	Control dependencies do \emph{not} provide transitivity.\footnote{
-		Refer to Section~\ref{sec:advsync:Transitivity} for
-		the meaning of transitivity.}
+\item	Control dependencies do \emph{not} provide transitivity.
 	If you need transitivity, use \co{smp_mb()}.
 \end{enumerate}

-- 
2.7.4



  parent reply	other threads:[~2017-04-01  2:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-01  2:09 [RFC PATCH 00/12] advsync: Rename LOCK/UNLOCK to ACQUIRE/RELEASE Akira Yokosawa
2017-04-01  2:10 ` [RFC PATCH 01/12] advsync: LOCK/UNLOCK -> ACQUIRE/RELEASE (part 1) Akira Yokosawa
2017-04-01  2:11 ` [RFC PATCH 02/12] advsync: LOCK/UNLOCK -> ACQUIRE/RELEASE (part 2) Akira Yokosawa
2017-04-01  2:12 ` [RFC PATCH 03/12] advsync: LOCK/UNLOCK -> ACQUIRE/RELEASE (part 3) Akira Yokosawa
2017-04-01  2:13 ` [RFC PATCH 04/12] advsync: More replacement to ACQUIRE Akira Yokosawa
2017-04-01  2:14 ` [RFC PATCH 05/12] advsync: Add footnote mentioning LOCK/UNLOCK wording Akira Yokosawa
2017-04-01  2:16 ` [RFC PATCH 06/12] advsync: Modify usage of definite article Akira Yokosawa
2017-04-01  2:17 ` [RFC PATCH 07/12] advsync: Substitute 'guarantee' with 'implication' Akira Yokosawa
2017-04-01  2:19 ` [RFC PATCH 08/12] advsync: Properly use nbsp Akira Yokosawa
2017-04-01  2:21 ` Akira Yokosawa [this message]
2017-04-01  2:22 ` [RFC PATCH 10/12] advsync: Fix line number called out Akira Yokosawa
2017-04-01  2:23 ` [RFC PATCH 11/12] advsync: Add extdash shortcut Akira Yokosawa
2017-04-01  2:23 ` [RFC PATCH 12/12] advsync: Avoid indent after minipage Akira Yokosawa
2017-04-04 16:02 ` [RFC PATCH 00/12] advsync: Rename LOCK/UNLOCK to ACQUIRE/RELEASE Paul E. McKenney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e7462be5-d7cf-9fd1-f16d-009ed036935d@gmail.com \
    --to=akiyks@gmail.com \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=perfbook@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.