Messages in this thread | | | Date | Wed, 16 Nov 2016 16:18:56 -0700 | From | Jonathan Corbet <> | Subject | Re: [PATCH] Documentation: circular-buffers: use READ_ONCE() |
| |
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
| |