aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-03-27 11:44:00 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-06-10 16:45:49 -0400
commit127781d1ba1ee5bbe1780afa35dd0e71583b143d (patch)
tree3c9b5961bc02e7f380a7bd7932181329ecbec397 /init
parentefc151c33b971148894789dc7c5589dec46d4348 (diff)
rcu: Remove TINY_PREEMPT_RCU
TINY_PREEMPT_RCU adds significant code and complexity, but does not offer commensurate benefits. People currently using TINY_PREEMPT_RCU can get much better memory footprint with TINY_RCU, or, if they really need preemptible RCU, they can use TREE_PREEMPT_RCU with a relatively minor degradation in memory footprint. Please note that this move has been widely publicized on LKML (https://lkml.org/lkml/2012/11/12/545) and on LWN (http://lwn.net/Articles/541037/). This commit therefore removes TINY_PREEMPT_RCU. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> [ paulmck: Updated to eliminate #else in rcutiny.h as suggested by Josh ] Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig10
1 files changed, 1 insertions, 9 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 2d9b83104dcf..e7fb255413d2 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -459,18 +459,10 @@ config TINY_RCU
459 is not required. This option greatly reduces the 459 is not required. This option greatly reduces the
460 memory footprint of RCU. 460 memory footprint of RCU.
461 461
462config TINY_PREEMPT_RCU
463 bool "Preemptible UP-only small-memory-footprint RCU"
464 depends on PREEMPT && !SMP
465 help
466 This option selects the RCU implementation that is designed
467 for real-time UP systems. This option greatly reduces the
468 memory footprint of RCU.
469
470endchoice 462endchoice
471 463
472config PREEMPT_RCU 464config PREEMPT_RCU
473 def_bool ( TREE_PREEMPT_RCU || TINY_PREEMPT_RCU ) 465 def_bool TREE_PREEMPT_RCU
474 help 466 help
475 This option enables preemptible-RCU code that is common between 467 This option enables preemptible-RCU code that is common between
476 the TREE_PREEMPT_RCU and TINY_PREEMPT_RCU implementations. 468 the TREE_PREEMPT_RCU and TINY_PREEMPT_RCU implementations.