Discussions of the Parallel Programming book
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Akira Yokosawa <akiyks@gmail.com>
Cc: perfbook@vger.kernel.org
Subject: Re: [PATCH] advsync: Fix typo in MP litmus test
Date: Thu, 27 Jul 2017 18:00:05 -0700	[thread overview]
Message-ID: <20170728010005.GV3730@linux.vnet.ibm.com> (raw)
In-Reply-To: <8ac841a3-b0d5-de98-6956-9914cfbe28e9@gmail.com>

On Fri, Jul 28, 2017 at 06:50:38AM +0900, Akira Yokosawa wrote:
> >From 467d89c42ab562e73f891830976ccc0c8726eeed Mon Sep 17 00:00:00 2001
> From: Akira Yokosawa <akiyks@gmail.com>
> Date: Thu, 27 Jul 2017 21:51:56 +0900
> Subject: [PATCH] advsync: Fix typo in MP litmus test
> 
> Signed-off-by: Akira Yokosawa <akiyks@gmail.com>

Good catch, queued and pushed, thank you!

Not sure how I managed to mess this one up, but good job on spotting
it and fixing it!

							Thanx, Paul

> ---
>  advsync/memorybarriers.tex | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/advsync/memorybarriers.tex b/advsync/memorybarriers.tex
> index 894de6d..6754ba5 100644
> --- a/advsync/memorybarriers.tex
> +++ b/advsync/memorybarriers.tex
> @@ -609,8 +609,8 @@ loads and stores.
>  17   int r2;
>  18   int r3;
>  19
> -20   r2 = READ_ONCE(*x0);
> -21   r3 = READ_ONCE(*x1);
> +20   r2 = READ_ONCE(*x1);
> +21   r3 = READ_ONCE(*x0);
>  22
>  23 }
>  24
> -- 
> 2.7.4
> 


      reply	other threads:[~2017-07-28  2:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-27 21:50 [PATCH] advsync: Fix typo in MP litmus test Akira Yokosawa
2017-07-28  1:00 ` Paul E. McKenney [this message]

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=20170728010005.GV3730@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=akiyks@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox