diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 9fb9f2982fa6b06c3cd282faebb067428557c268..4119e4e1ee021e682d69b549e44bbb20b850e405 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -795,6 +795,20 @@ config NODES_SHIFT Specify the maximum number of NUMA Nodes available on the target system. Increases memory reserved to accommodate various tables. +config NUMA_AWARE_SPINLOCKS + bool "Numa-aware spinlocks" + depends on NUMA && QUEUED_SPINLOCKS + default n + help + Introduce NUMA (Non Uniform Memory Access) awareness into + the slow path of spinlocks. + + The kernel will try to keep the lock on the same node, + thus reducing the number of remote cache misses, while + trading some of the short term fairness for better performance. + + Say N if you want absolute first come first serve fairness. + config USE_PERCPU_NUMA_NODE_ID def_bool y depends on NUMA