rcu: Restrict RCU_STRICT_GRACE_PERIOD to at most four CPUs
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 7 Apr 2021 22:21:32 +0000 (15:21 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 10 May 2021 23:22:54 +0000 (16:22 -0700)
commit4d80b8e196fad9852050f3c8624eea09a6bbeada
tree0693cabb9fdcf73da9c4f4ca1c4a97089bade546
parentb15805013b441b13fcf6e402c03421c03edb79c6
rcu: Restrict RCU_STRICT_GRACE_PERIOD to at most four CPUs

Kernels built with CONFIG_RCU_STRICT_GRACE_PERIOD=y can experience
significant lock contention due to RCU's resulting focus on ending grace
periods as soon as possible.  This is OK, but only if there are not very
many CPUs.  This commit therefore puts this Kconfig option off-limits
to systems with more than four CPUs.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/Kconfig.debug