Commit e72aeafc authored by Pranith Kumar's avatar Pranith Kumar Committed by Paul E. McKenney

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: default avatarPranith Kumar <bobby.prani@gmail.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 26730f55
...@@ -465,13 +465,9 @@ endmenu # "CPU/Task time and stats accounting" ...@@ -465,13 +465,9 @@ endmenu # "CPU/Task time and stats accounting"
menu "RCU Subsystem" menu "RCU Subsystem"
choice
prompt "RCU Implementation"
default TREE_RCU
config TREE_RCU config TREE_RCU
bool "Tree-based hierarchical RCU" bool
depends on !PREEMPT && SMP default y if !PREEMPT && SMP
help help
This option selects the RCU implementation that is This option selects the RCU implementation that is
designed for very large SMP system with hundreds or designed for very large SMP system with hundreds or
...@@ -479,8 +475,8 @@ config TREE_RCU ...@@ -479,8 +475,8 @@ config TREE_RCU
smaller systems. smaller systems.
config PREEMPT_RCU config PREEMPT_RCU
bool "Preemptible tree-based hierarchical RCU" bool
depends on PREEMPT default y if PREEMPT
help help
This option selects the RCU implementation that is This option selects the RCU implementation that is
designed for very large SMP systems with hundreds or designed for very large SMP systems with hundreds or
...@@ -491,16 +487,14 @@ config PREEMPT_RCU ...@@ -491,16 +487,14 @@ config PREEMPT_RCU
Select this option if you are unsure. Select this option if you are unsure.
config TINY_RCU config TINY_RCU
bool "UP-only small-memory-footprint RCU" bool
depends on !PREEMPT && !SMP default y if !PREEMPT && !SMP
help help
This option selects the RCU implementation that is This option selects the RCU implementation that is
designed for UP systems from which real-time response designed for UP systems from which real-time response
is not required. This option greatly reduces the is not required. This option greatly reduces the
memory footprint of RCU. memory footprint of RCU.
endchoice
config RCU_EXPERT config RCU_EXPERT
bool "Make expert-level adjustments to RCU configuration" bool "Make expert-level adjustments to RCU configuration"
default n default n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment