summaryrefslogtreecommitdiffstats
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorWill Deacon2018-03-13 21:45:45 +0100
committerWill Deacon2018-07-05 11:05:06 +0200
commitc11090474d70590170cf5fa6afe85864ab494b37 (patch)
tree7bb33c5eee9bdcb1f8d84480b915a21db56eac14 /arch/arm64/Kconfig
parentarm64: barrier: Implement smp_cond_load_relaxed (diff)
downloadkernel-qcow2-linux-c11090474d70590170cf5fa6afe85864ab494b37.tar.gz
kernel-qcow2-linux-c11090474d70590170cf5fa6afe85864ab494b37.tar.xz
kernel-qcow2-linux-c11090474d70590170cf5fa6afe85864ab494b37.zip
arm64: locking: Replace ticket lock implementation with qspinlock
It's fair to say that our ticket lock has served us well over time, but it's time to bite the bullet and start using the generic qspinlock code so we can make use of explicit MCS queuing and potentially better PV performance in future. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r--arch/arm64/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 42c090cf0292..facd19625563 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -44,6 +44,7 @@ config ARM64
select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE if !PREEMPT
select ARCH_USE_CMPXCHG_LOCKREF
select ARCH_USE_QUEUED_RWLOCKS
+ select ARCH_USE_QUEUED_SPINLOCKS
select ARCH_SUPPORTS_MEMORY_FAILURE
select ARCH_SUPPORTS_ATOMIC_RMW
select ARCH_SUPPORTS_INT128 if GCC_VERSION >= 50000 || CC_IS_CLANG