Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1523963

Re: [PATCH] Documentation: atomic_ops: use {READ,WRITE}_ONCE()

From Jonathan Corbet <corbet@lwn.net>
Newsgroups linux.kernel
Subject Re: [PATCH] Documentation: atomic_ops: use {READ,WRITE}_ONCE()
Date 2016-11-17 00:20 +0100
Message-ID <sEhEJ-Xw-9@gated-at.bofh.it> (permalink)
References <sE6pY-258-31@gated-at.bofh.it>
Organization LWN.net

Show all headers | View raw


On Wed, 16 Nov 2016 11:13:59 +0000
Mark Rutland <mark.rutland@arm.com> wrote:

> While the {READ,WRITE}_ONCE() macros should be used in preference to
> ACCESS_ONCE(), the atomic documentation uses the latter exclusively.
> 
> To point people in the right direction, and as a step towards the
> eventual removal of ACCESS_ONCE(), update the documentation to use the
> {READ,WRITE}_ONCE() macros as appropriate.

Applied to the docs tree, thanks.

jon

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] Documentation: atomic_ops: use {READ,WRITE}_ONCE() Mark Rutland <mark.rutland@arm.com> - 2016-11-16 12:20 +0100
  Re: [PATCH] Documentation: atomic_ops: use {READ,WRITE}_ONCE() "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-11-16 15:30 +0100
  Re: [PATCH] Documentation: atomic_ops: use {READ,WRITE}_ONCE() Jonathan Corbet <corbet@lwn.net> - 2016-11-17 00:20 +0100

csiph-web