Эх сурвалжийг харах

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>
Paul E. McKenney 15 жил өмнө
parent
commit
687d7a960a
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      init/Kconfig

+ 1 - 0
init/Kconfig

@@ -340,6 +340,7 @@ choice
 
 
 config TREE_RCU
 config TREE_RCU
 	bool "Tree-based hierarchical RCU"
 	bool "Tree-based hierarchical RCU"
+	depends on !PREEMPT && SMP
 	help
 	help
 	  This option selects the RCU implementation that is
 	  This option selects the RCU implementation that is
 	  designed for very large SMP system with hundreds or
 	  designed for very large SMP system with hundreds or