All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: SeongJae Park <sj38.park@gmail.com>
Cc: akiyks@gmail.com, perfbook@vger.kernel.org
Subject: Re: [PATCH] advsync: Fix wrong code example
Date: Sun, 3 Apr 2016 06:57:42 -0700	[thread overview]
Message-ID: <20160403135742.GD5835@linux.vnet.ibm.com> (raw)
In-Reply-To: <1459566236-15362-1-git-send-email-sj38.park@gmail.com>

On Sat, Apr 02, 2016 at 12:03:56PM +0900, SeongJae Park wrote:
> The code means `*(A + 4) = Y` but it is written as `Y = *A`. This commit
> fixes the typo.
> 
> Suggested-by: Akira Yokosawa <akiysw@gmail.com>
> Signed-off-by: SeongJae Park <sj38.park@gmail.com>

Queued, thank you!

							Thanx, Paul

> ---
>  advsync/memorybarriers.tex | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/advsync/memorybarriers.tex b/advsync/memorybarriers.tex
> index ee9312d..8e9c876 100644
> --- a/advsync/memorybarriers.tex
> +++ b/advsync/memorybarriers.tex
> @@ -1364,7 +1364,7 @@ Y = LOAD *(A + 4); X = LOAD *A;
>  \begin{minipage}[t]{\columnwidth}
>  \scriptsize
>  \begin{verbatim}
> -*A = X; Y = *A;
> +*A = X; *(A + 4) = Y;
>  \end{verbatim}
>  \end{minipage}
>  \vspace{5pt}
> -- 
> 1.9.1
> 


  parent reply	other threads:[~2016-04-03 13:57 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-02  0:28 [PATCH 0/6] fix trivial problems in advanced synchronization chapter SeongJae Park
2016-04-02  0:28 ` [PATCH 1/6] advsync: fix trivial typos SeongJae Park
2016-04-03 13:56   ` [PATCH 1/6] advsync: Fix " Paul E. McKenney
2016-04-02  0:28 ` [PATCH 2/6] advsync: fix latex syntax related typos SeongJae Park
2016-04-03 13:52   ` Paul E. McKenney
2016-04-03 22:10     ` SeongJae Park
2016-04-03 22:25       ` [PATCH] " SeongJae Park
2016-04-02  0:28 ` [PATCH 3/6] advsync: use latex reference feature consistently SeongJae Park
2016-04-03 13:37   ` Paul E. McKenney
2016-04-03 22:30     ` SeongJae Park
2016-04-03 22:33       ` [PATCH] " SeongJae Park
2016-04-07 21:05         ` Paul E. McKenney
2016-04-02  0:28 ` [PATCH 4/6] advsync: fix wrong code example SeongJae Park
2016-04-02  2:39   ` Yokosawa Akira
2016-04-02  2:52     ` SeongJae Park
2016-04-02  3:03       ` [PATCH] " SeongJae Park
2016-04-02  3:09         ` Yokosawa Akira
2016-04-02  3:12           ` SeongJae Park
2016-04-03 13:57         ` Paul E. McKenney [this message]
2016-04-02  3:06       ` [PATCH 4/6] " Yokosawa Akira
2016-04-02  0:28 ` [PATCH 5/6] advsync: fix critical section bleed-in description SeongJae Park
2016-04-03 13:57   ` [PATCH 5/6] advsync: Fix " Paul E. McKenney
2016-04-02  0:28 ` [PATCH 6/6] advsync: fix wrong reference to section ``MMIO write barrier'' SeongJae Park
2016-04-03 13:57   ` [PATCH 6/6] advsync: Fix " 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=20160403135742.GD5835@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=akiyks@gmail.com \
    --cc=perfbook@vger.kernel.org \
    --cc=sj38.park@gmail.com \
    /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.