Re: [PATCH] perf mmap: Convert ACCESS_ONCE() to READ_ONCE()

2017-11-14 Thread Paul E. McKenney
On Tue, Nov 14, 2017 at 02:21:56PM -0800, Joe Perches wrote: > On Tue, 2017-11-14 at 14:08 -0800, Paul E. McKenney wrote: > > On Tue, Nov 14, 2017 at 10:31:38AM +, Mark Rutland wrote: > > > Recently there was a treewide conversion of ACCESS_ONCE() to > > > {READ,WRITE}_ONCE(), but a new use was

Re: [PATCH] perf mmap: Convert ACCESS_ONCE() to READ_ONCE()

2017-11-14 Thread Joe Perches
On Tue, 2017-11-14 at 14:08 -0800, Paul E. McKenney wrote: > On Tue, Nov 14, 2017 at 10:31:38AM +, Mark Rutland wrote: > > Recently there was a treewide conversion of ACCESS_ONCE() to > > {READ,WRITE}_ONCE(), but a new use was introduced concurrently by > > commit: > > > > 1695849735752d2a (

Re: [PATCH] perf mmap: Convert ACCESS_ONCE() to READ_ONCE()

2017-11-14 Thread Paul E. McKenney
On Tue, Nov 14, 2017 at 10:31:38AM +, Mark Rutland wrote: > Recently there was a treewide conversion of ACCESS_ONCE() to > {READ,WRITE}_ONCE(), but a new use was introduced concurrently by > commit: > > 1695849735752d2a ("perf mmap: Move perf_mmap and methods to separate > mmap.[ch] files")

[PATCH] perf mmap: Convert ACCESS_ONCE() to READ_ONCE()

2017-11-14 Thread Mark Rutland
Recently there was a treewide conversion of ACCESS_ONCE() to {READ,WRITE}_ONCE(), but a new use was introduced concurrently by commit: 1695849735752d2a ("perf mmap: Move perf_mmap and methods to separate mmap.[ch] files") Let's convert this over to READ_ONCE() so that we can remove the ACCESS_