aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/Kconfig.debug
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2022-05-17 18:03:36 -0700
committerPaul E. McKenney <paulmck@kernel.org>2022-07-19 11:39:59 -0700
commitb3ade95b8ee507d650d9e163abfdf645a9f3886d (patch)
tree14b877543470794e84768c58ab5bdde8f5ce186c /kernel/rcu/Kconfig.debug
parentrcu: Immediately boost preempted readers for strict grace periods (diff)
downloadlinux-dev-b3ade95b8ee507d650d9e163abfdf645a9f3886d.tar.xz
linux-dev-b3ade95b8ee507d650d9e163abfdf645a9f3886d.zip
rcu: Forbid RCU_STRICT_GRACE_PERIOD in TINY_RCU kernels
The RCU_STRICT_GRACE_PERIOD Kconfig option does nothing in kernels built with CONFIG_TINY_RCU=y, so this commit adjusts the dependencies to disallow this combination. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Reviewed-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Diffstat (limited to 'kernel/rcu/Kconfig.debug')
-rw-r--r--kernel/rcu/Kconfig.debug2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/Kconfig.debug b/kernel/rcu/Kconfig.debug
index 9b64e55d4f61..4da05beb13d7 100644
--- a/kernel/rcu/Kconfig.debug
+++ b/kernel/rcu/Kconfig.debug
@@ -121,7 +121,7 @@ config RCU_EQS_DEBUG
config RCU_STRICT_GRACE_PERIOD
bool "Provide debug RCU implementation with short grace periods"
- depends on DEBUG_KERNEL && RCU_EXPERT && NR_CPUS <= 4
+ depends on DEBUG_KERNEL && RCU_EXPERT && NR_CPUS <= 4 && !TINY_RCU
default n
select PREEMPT_COUNT if PREEMPT=n
help