summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorPaul E. McKenney2015-04-20 14:42:50 +0200
committerPaul E. McKenney2015-05-27 21:59:03 +0200
commit82d0f4c089991e6b302d961f0320282bf91652d7 (patch)
tree1ba0f3bd15f4746888499523d86462f1ae054caf /lib/Kconfig.debug
parentrcu: Provide diagnostic option to slow down grace-period scans (diff)
downloadkernel-qcow2-linux-82d0f4c089991e6b302d961f0320282bf91652d7.tar.gz
kernel-qcow2-linux-82d0f4c089991e6b302d961f0320282bf91652d7.tar.xz
kernel-qcow2-linux-82d0f4c089991e6b302d961f0320282bf91652d7.zip
rcu: Directly drive TASKS_RCU from Kconfig
Currently, Kconfig will ask the user whether TASKS_RCU should be set. This is silly because Kconfig already has all the information that it needs to set this parameter. This commit therefore directly drives the value of TASKS_RCU via "select" statements. Which means that as subsystems require TASKS_RCU, those subsystems will need to add "select" statements of their own. Reported-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Steven Rostedt <rostedt@goodmis.org> Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index e1af93ae246b..c4e1cf04cf57 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1233,6 +1233,7 @@ config RCU_TORTURE_TEST
depends on DEBUG_KERNEL
select TORTURE_TEST
select SRCU
+ select TASKS_RCU
default n
help
This option provides a kernel module that runs torture tests