]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: kconfig: Ensure spinlock fastpaths are inlined if !PREEMPT
authorWill Deacon <will.deacon@arm.com>
Tue, 13 Mar 2018 21:17:01 +0000 (21:17 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 5 Jul 2018 09:05:06 +0000 (10:05 +0100)
commit75d01a9ca4d0e625c9d04bdff6db8c4e5cc9dda3
treee8e9fd92f1422e314c1fc13241c7f6ce646e2a8a
parent34d48d8cf2dc9f77615350877f761d33ae25a10c
arm64: kconfig: Ensure spinlock fastpaths are inlined if !PREEMPT

When running with CONFIG_PREEMPT=n, the spinlock fastpaths fit inside
64 bytes, which typically coincides with the L1 I-cache line size.

Inline the spinlock fastpaths, like we do already for rwlocks.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig