rcu: restrict TREE_RCU to SMP builds with !PREEMPT
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 21 Jul 2010 13:52:40 +0000 (06:52 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 20 Aug 2010 00:18:04 +0000 (17:18 -0700)
Because both TINY_RCU and TREE_PREEMPT_RCU have been in mainline for
several releases, it is time to restrict the use of TREE_RCU to SMP
non-preemptible systems.  This reduces testing/validation effort.  This
commit is a first step towards driving the selection of RCU implementation
directly off of the SMP and PREEMPT configuration parameters.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
init/Kconfig

index 2de5b1cbadd9e47138f879d23cc4d2d5066d32d7..79ac52bef4ce8de657b449a0ac949077362f7a75 100644 (file)
@@ -340,6 +340,7 @@ choice
 
 config TREE_RCU
        bool "Tree-based hierarchical RCU"
+       depends on !PREEMPT && SMP
        help
          This option selects the RCU implementation that is
          designed for very large SMP system with hundreds or