mbox series

[0/4] Final ACCESS_ONCE() cleanups for v4.15

Message ID 20171127103824.36526-1-mark.rutland@arm.com
Headers show
Series Final ACCESS_ONCE() cleanups for v4.15 | expand

Message

Mark Rutland Nov. 27, 2017, 10:38 a.m. UTC
Now that the ACCESS_ONCE() conversion settled in v4.15-rc1, these
patches remove the ACCESS_ONCE() definitions from the kernel, along with
the newly redundant checkpatch warning suggesting {READ,WRITE}_ONCE()
are preferred.

One new user of ACCESS_ONCE() snuck into v4.15-rc1; the first patch in
this series (previously sent on its own [1]) moves that over to
READ_ONCE(). Otherwise, there are no remaining uses of ACCESS_ONCE().

Ingo, assuming there are no complaints, would you be happy to take this
via the tip tree as a fixup for v4.15?

I've also pushed the series to my core/access-once-removal branch [2].

Thanks,
Mark.

[1] https://lkml.kernel.org/r/20171114103138.9931-1-mark.rutland@arm.com
[2] git://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git core/access-once-removal

Mark Rutland (4):
  perf mmap: Convert ACCESS_ONCE() to READ_ONCE()
  tools: include: remove ACCESS_ONCE()
  compiler.h: remove ACCESS_ONCE()
  checkpatch: remove ACCESS_ONCE() warning

 include/linux/compiler.h       | 47 ++++++++++--------------------------------
 scripts/checkpatch.pl          | 22 --------------------
 tools/include/linux/compiler.h | 21 ++++++++-----------
 tools/perf/util/mmap.h         |  2 +-
 4 files changed, 21 insertions(+), 71 deletions(-)

-- 
2.11.0

Comments

Paul E. McKenney Nov. 27, 2017, 9:11 p.m. UTC | #1
On Mon, Nov 27, 2017 at 10:38:20AM +0000, Mark Rutland wrote:
> Now that the ACCESS_ONCE() conversion settled in v4.15-rc1, these

> patches remove the ACCESS_ONCE() definitions from the kernel, along with

> the newly redundant checkpatch warning suggesting {READ,WRITE}_ONCE()

> are preferred.

> 

> One new user of ACCESS_ONCE() snuck into v4.15-rc1; the first patch in

> this series (previously sent on its own [1]) moves that over to

> READ_ONCE(). Otherwise, there are no remaining uses of ACCESS_ONCE().

> 

> Ingo, assuming there are no complaints, would you be happy to take this

> via the tip tree as a fixup for v4.15?

> 

> I've also pushed the series to my core/access-once-removal branch [2].


For all four:

Tested-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>


> Thanks,

> Mark.

> 

> [1] https://lkml.kernel.org/r/20171114103138.9931-1-mark.rutland@arm.com

> [2] git://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git core/access-once-removal

> 

> Mark Rutland (4):

>   perf mmap: Convert ACCESS_ONCE() to READ_ONCE()

>   tools: include: remove ACCESS_ONCE()

>   compiler.h: remove ACCESS_ONCE()

>   checkpatch: remove ACCESS_ONCE() warning

> 

>  include/linux/compiler.h       | 47 ++++++++++--------------------------------

>  scripts/checkpatch.pl          | 22 --------------------

>  tools/include/linux/compiler.h | 21 ++++++++-----------

>  tools/perf/util/mmap.h         |  2 +-

>  4 files changed, 21 insertions(+), 71 deletions(-)

> 

> -- 

> 2.11.0

>