Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1523962
| From | Jonathan Corbet <corbet@lwn.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] Documentation: circular-buffers: use READ_ONCE() |
| Date | 2016-11-17 00:20 +0100 |
| Message-ID | <sEhEJ-Xw-1@gated-at.bofh.it> (permalink) |
| References | <sE6pY-258-11@gated-at.bofh.it> |
| Organization | LWN.net |
On Wed, 16 Nov 2016 11:12:49 +0000
Mark Rutland <mark.rutland@arm.com> wrote:
> While the {READ,WRITE}_ONCE() macros should be used in preference to
> ACCESS_ONCE(), the circular buffer 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
> READ_ONCE(), as ACCESS_ONCE() is only used in a reader context in the
> circular buffer documentation.
Applied to the docs tree, thanks.
jon
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] Documentation: circular-buffers: use READ_ONCE() Mark Rutland <mark.rutland@arm.com> - 2016-11-16 12:20 +0100 Re: [PATCH] Documentation: circular-buffers: use READ_ONCE() David Howells <dhowells@redhat.com> - 2016-11-16 14:50 +0100 Re: [PATCH] Documentation: circular-buffers: use READ_ONCE() "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-11-16 15:30 +0100 Re: [PATCH] Documentation: circular-buffers: use READ_ONCE() Jonathan Corbet <corbet@lwn.net> - 2016-11-17 00:20 +0100
csiph-web