[PATCH] arm64: atomics: implement native {relaxed, acquire, release} atomics

Catalin Marinas catalin.marinas at arm.com
Mon Oct 12 09:38:01 PDT 2015


On Thu, Oct 08, 2015 at 08:15:18PM +0100, Will Deacon wrote:
> Commit 654672d4ba1a ("locking/atomics: Add _{acquire|release|relaxed}()
> variants of some atomic operation") introduced a relaxed atomic API to
> Linux that maps nicely onto the arm64 memory model, including the new
> ARMv8.1 atomic instructions.
> 
> This patch hooks up the API to our relaxed atomic instructions, rather
> than have them all expand to the full-barrier variants as they do
> currently.
> 
> Signed-off-by: Will Deacon <will.deacon at arm.com>

Applied (fingers crossed ;)). Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list