All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Andreas Gustafsson <gson@gson.org>
Cc: perfbook@vger.kernel.org
Subject: Re: memory_order_explicit
Date: Sun, 12 Aug 2018 16:28:34 -0700	[thread overview]
Message-ID: <20180812232834.GJ24813@linux.vnet.ibm.com> (raw)
In-Reply-To: <23408.40149.473045.271221@guava.gson.org>

On Sun, Aug 12, 2018 at 11:47:17PM +0300, Andreas Gustafsson wrote:
> perfbook/toolsoftrade/toolsoftrade.tex says:
> 
>   For example, ``\co{memory_order_explicit(&a, memory_order_relaxed)}''
>   is vaguely similar to the Linux kernel's ``\co{READ_ONCE()}''
> 
> I'm no expert on the C11 atomics, but as far as I can see, there is no
> such function as "memory_order_explicit".  Did you perhaps mean to say
> "atomic_load_explicit"?

Indeed I did, good catch, thank you!  I have applied a fix with your
Reported-by.

							Thanx, Paul


      reply	other threads:[~2018-08-13  2:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-12 20:47 memory_order_explicit Andreas Gustafsson
2018-08-12 23:28 ` 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=20180812232834.GJ24813@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=gson@gson.org \
    --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.