[PATCH v2 10/20] arm64: bitops: patch in lse instructions when supported by the CPU

Catalin Marinas catalin.marinas at arm.com
Fri Jul 24 08:19:01 PDT 2015


On Fri, Jul 24, 2015 at 11:42:01AM +0100, Will Deacon wrote:
> On CPUs which support the LSE atomic instructions introduced in ARMv8.1,
> it makes sense to use them in preference to ll/sc sequences.
> 
> This patch introduces runtime patching of our bitops functions so that
> LSE atomic instructions are used instead.
> 
> Reviewed-by: Steve Capper <steve.capper at arm.com>
> Signed-off-by: Will Deacon <will.deacon at arm.com>

Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list