diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-07-21 09:52:40 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-08-19 20:18:04 -0400 |
commit | 687d7a960aea46e016182c7ce346d62c4dbd0366 (patch) | |
tree | 619c4ee6bee4c17fdc2f7c60a339295c6570b400 /init | |
parent | f2e0dd7090eddef427ab9d9f81de122244cded51 (diff) |
rcu: restrict TREE_RCU to SMP builds with !PREEMPT
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>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 2de5b1cbadd..79ac52bef4c 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -340,6 +340,7 @@ choice | |||
340 | 340 | ||
341 | config TREE_RCU | 341 | config TREE_RCU |
342 | bool "Tree-based hierarchical RCU" | 342 | bool "Tree-based hierarchical RCU" |
343 | depends on !PREEMPT && SMP | ||
343 | help | 344 | help |
344 | This option selects the RCU implementation that is | 345 | This option selects the RCU implementation that is |
345 | designed for very large SMP system with hundreds or | 346 | designed for very large SMP system with hundreds or |