lkml.org 
[lkml]   [2017]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] Final ACCESS_ONCE() cleanups for v4.15
Date
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

\
 
 \ /
  Last update: 2017-11-27 11:39    [W:0.059 / U:0.552 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site