powerpc: Always enable queued spinlocks for 64s, disable for others
authorNicholas Piggin <npiggin@gmail.com>
Mon, 18 Jan 2021 12:34:51 +0000 (22:34 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 30 Jan 2021 00:39:32 +0000 (11:39 +1100)
commitc9f3401313a5089f100d7d1ef4b75cd7b49b2190
treea378b5000a917cdc4d572c917f3d4cb30da83d92
parent9dd31b11370380c488c8f2d347058617cd3fff99
powerpc: Always enable queued spinlocks for 64s, disable for others

Queued spinlocks have shown to have good performance and fairness
properties even on smaller (2 socket) POWER systems. This selects them
automatically for 64s. For other platforms they are de-selected, the
standard spinlock is far simpler and smaller code, and single chips
with a handful of cores is unlikely to show any improvement.

CONFIG_EXPERT still allows this to be changed, e.g., to help debug
performance or correctness issues.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210118123451.1452206-1-npiggin@gmail.com
arch/powerpc/Kconfig