[PATCH] arm64: percpu: kill off final ACCESS_ONCE() uses

Catalin Marinas catalin.marinas at arm.com
Wed Nov 9 09:16:24 PST 2016


On Fri, Nov 04, 2016 at 06:17:06PM +0000, Mark Rutland wrote:
> For several reasons it is preferable to use {READ,WRITE}_ONCE() rather than
> ACCESS_ONCE(). For example, these handle aggregate types, result in shorter
> source code, and better document the intended access (which may be useful for
> instrumentation features such as the upcoming KTSAN).
> 
> Over a number of patches, most uses of ACCESS_ONCE() in arch/arm64 have been
> migrated to {READ,WRITE}_ONCE(). For consistency, and the above reasons, this
> patch migrates the final remaining uses.
> 
> Signed-off-by: Mark Rutland <mark.rutland at arm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Dmitry Vyukov <dvyukov at google.com>
> Cc: Will Deacon <will.deacon at arm.com>

I'll queue this for 4.10. Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list