Re: [PATCH] Documentation: circular-buffers: use READ_ONCE()

2016-11-16 Thread Jonathan Corbet
On Wed, 16 Nov 2016 11:12:49 + Mark Rutland 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

Re: [PATCH] Documentation: circular-buffers: use READ_ONCE()

2016-11-16 Thread Paul E. McKenney
On Wed, Nov 16, 2016 at 11:12:49AM +, Mark Rutland 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

Re: [PATCH] Documentation: circular-buffers: use READ_ONCE()

2016-11-16 Thread David Howells
Mark Rutland 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

[PATCH] Documentation: circular-buffers: use READ_ONCE()

2016-11-16 Thread Mark Rutland
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