aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-01-08 18:48:33 -0500
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-01-29 01:06:22 -0500
commit9fc52d832b5e7f6e175f3b20ae94504b780b9fd3 (patch)
treece618667492e0d87b496dad1f605674bbb6a5bc4 /init
parent6bfc09e2327dfbffc312004c16188dbf8dfb0297 (diff)
rcu: Allow TREE_PREEMPT_RCU on UP systems
The TINY_PREEMPT_RCU is complex, does not provide that much memory savings, and therefore TREE_PREEMPT_RCU should be used instead. The systems where the difference between TINY_PREEMPT_RCU and TREE_PREEMPT_RCU are quite small compared to the memory footprint of CONFIG_PREEMPT. This commit therefore takes a first step towards eliminating TINY_PREEMPT_RCU by allowing TREE_PREEMPT_RCU to be configured on !SMP systems. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index a5e90e139ba5..fb19b46c0042 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -453,7 +453,7 @@ config TREE_RCU
453 453
454config TREE_PREEMPT_RCU 454config TREE_PREEMPT_RCU
455 bool "Preemptible tree-based hierarchical RCU" 455 bool "Preemptible tree-based hierarchical RCU"
456 depends on PREEMPT && SMP 456 depends on PREEMPT
457 help 457 help
458 This option selects the RCU implementation that is 458 This option selects the RCU implementation that is
459 designed for very large SMP systems with hundreds or 459 designed for very large SMP systems with hundreds or
@@ -461,6 +461,8 @@ config TREE_PREEMPT_RCU
461 is also required. It also scales down nicely to 461 is also required. It also scales down nicely to
462 smaller systems. 462 smaller systems.
463 463
464 Select this option if you are unsure.
465
464config TINY_RCU 466config TINY_RCU
465 bool "UP-only small-memory-footprint RCU" 467 bool "UP-only small-memory-footprint RCU"
466 depends on !PREEMPT && !SMP 468 depends on !PREEMPT && !SMP