aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorPranith Kumar <bobby.prani@gmail.com>2015-04-21 17:29:42 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-05-27 15:59:06 -0400
commite72aeafc66060d3fc6b4d2120db00058572b3186 (patch)
tree74f9b389cf36209f661b0437d84bc4ca31c58b29 /init
parent26730f55c2842b4ee06a5307d58265db7dd26065 (diff)
rcu: Remove prompt for RCU implementation
The RCU implementation is chosen based on PREEMPT and SMP config options and is not really a user-selectable choice. This commit removes the menu entry, given that there is not much point in calling something a choice when there is in fact no choice.. The TINY_RCU, TREE_RCU, and PREEMPT_RCU Kconfig options continue to be selected based solely on the values of the PREEMPT and SMP options. Signed-off-by: Pranith Kumar <bobby.prani@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig18
1 files changed, 6 insertions, 12 deletions
diff --git a/init/Kconfig b/init/Kconfig
index af2c93c4a105..4c08197044f1 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -465,13 +465,9 @@ endmenu # "CPU/Task time and stats accounting"
465 465
466menu "RCU Subsystem" 466menu "RCU Subsystem"
467 467
468choice
469 prompt "RCU Implementation"
470 default TREE_RCU
471
472config TREE_RCU 468config TREE_RCU
473 bool "Tree-based hierarchical RCU" 469 bool
474 depends on !PREEMPT && SMP 470 default y if !PREEMPT && SMP
475 help 471 help
476 This option selects the RCU implementation that is 472 This option selects the RCU implementation that is
477 designed for very large SMP system with hundreds or 473 designed for very large SMP system with hundreds or
@@ -479,8 +475,8 @@ config TREE_RCU
479 smaller systems. 475 smaller systems.
480 476
481config PREEMPT_RCU 477config PREEMPT_RCU
482 bool "Preemptible tree-based hierarchical RCU" 478 bool
483 depends on PREEMPT 479 default y if PREEMPT
484 help 480 help
485 This option selects the RCU implementation that is 481 This option selects the RCU implementation that is
486 designed for very large SMP systems with hundreds or 482 designed for very large SMP systems with hundreds or
@@ -491,16 +487,14 @@ config PREEMPT_RCU
491 Select this option if you are unsure. 487 Select this option if you are unsure.
492 488
493config TINY_RCU 489config TINY_RCU
494 bool "UP-only small-memory-footprint RCU" 490 bool
495 depends on !PREEMPT && !SMP 491 default y if !PREEMPT && !SMP
496 help 492 help
497 This option selects the RCU implementation that is 493 This option selects the RCU implementation that is
498 designed for UP systems from which real-time response 494 designed for UP systems from which real-time response
499 is not required. This option greatly reduces the 495 is not required. This option greatly reduces the
500 memory footprint of RCU. 496 memory footprint of RCU.
501 497
502endchoice
503
504config RCU_EXPERT 498config RCU_EXPERT
505 bool "Make expert-level adjustments to RCU configuration" 499 bool "Make expert-level adjustments to RCU configuration"
506 default n 500 default n