Skip to content

Commit

Permalink
rcu: Remove prompt for RCU implementation
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
  • Loading branch information
pranith authored and paulmck committed May 27, 2015
1 parent 26730f5 commit e72aeaf
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -465,22 +465,18 @@ endmenu # "CPU/Task time and stats accounting"

menu "RCU Subsystem"

choice
prompt "RCU Implementation"
default TREE_RCU

config TREE_RCU
bool "Tree-based hierarchical RCU"
depends on !PREEMPT && SMP
bool
default y if !PREEMPT && SMP
help
This option selects the RCU implementation that is
designed for very large SMP system with hundreds or
thousands of CPUs. It also scales down nicely to
smaller systems.

config PREEMPT_RCU
bool "Preemptible tree-based hierarchical RCU"
depends on PREEMPT
bool
default y if PREEMPT
help
This option selects the RCU implementation that is
designed for very large SMP systems with hundreds or
Expand All @@ -491,16 +487,14 @@ config PREEMPT_RCU
Select this option if you are unsure.

config TINY_RCU
bool "UP-only small-memory-footprint RCU"
depends on !PREEMPT && !SMP
bool
default y if !PREEMPT && !SMP
help
This option selects the RCU implementation that is
designed for UP systems from which real-time response
is not required. This option greatly reduces the
memory footprint of RCU.

endchoice

config RCU_EXPERT
bool "Make expert-level adjustments to RCU configuration"
default n
Expand Down

0 comments on commit e72aeaf

Please sign in to comment.