Commit 687d7a960aea46e016182c7ce346d62c4dbd0366

Authored by Paul E. McKenney
1 parent f2e0dd7090

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

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