srcu: Automatically determine size-transition strategy at boot
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 31 Jan 2022 19:21:30 +0000 (11:21 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 8 Feb 2022 19:12:39 +0000 (11:12 -0800)
commit92093b1bdf48286aefc8da09db3f28dab01f0449
tree0adbf3f4be42acb2503a41a29d36013a2996eeb8
parent9903af70f616d6d40bbd5ca61663a16309e77fd4
srcu: Automatically determine size-transition strategy at boot

This commit adds a srcutree.convert_to_big option of zero that causes
SRCU to decide at boot whether to wait for contention (small systems) or
immediately expand to large (large systems).  A new srcutree.big_cpu_lim
(defaulting to 128) defines how many CPUs constitute a large system.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Documentation/admin-guide/kernel-parameters.txt
kernel/rcu/srcutree.c