]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcd3e82352afae55f8c57a2298424dfad007f0f80
tree0693cabb9fdcf73da9c4f4ca1c4a97089bade546
parent426c9a8d20a6c989be8f7a2345c6a1d551b70265
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