[PATCH] arm64: atomics: remove redundant static branch

Will Deacon will at kernel.org
Tue Feb 15 15:18:32 PST 2022


On Fri, 4 Feb 2022 10:44:39 +0000, Mark Rutland wrote:
> Due to a historical oversight, we emit a redundant static branch for
> each atomic/atomic64 operation when CONFIG_ARM64_LSE_ATOMICS is
> selected. We can safely remove this, making the kernel Image reasonably
> smaller.
> 
> When CONFIG_ARM64_LSE_ATOMICS is selected, every LSE atomic operation
> has two preceding static branches with the same target, e.g.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: atomics: remove redundant static branch
      https://git.kernel.org/arm64/c/16860a209cf1

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list