From: Paul E. McKenney Date: Wed, 21 Jul 2010 13:52:40 +0000 (-0700) Subject: rcu: restrict TREE_RCU to SMP builds with !PREEMPT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=687d7a960aea46e016182c7ce346d62c4dbd0366;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 --- diff --git a/init/Kconfig b/init/Kconfig index 2de5b1cbadd9..79ac52bef4ce 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -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