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>
Thu, 24 Feb 2022 17:50:10 +0000 (09:50 -0800)
commit543fb8d7a1e0ad0665fdd8dfdee04a43072b1f80
tree47285da4dcd9c6f78114f85cd2d993a9e247d4e8
parent8179c440ce9203a330e25116f311a1c205e20b61
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