diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-03-25 19:59:38 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-04-18 21:38:22 +0300 |
commit | d8be81735aa89413b333de488251f0e64e2be591 (patch) | |
tree | 3c7743a43efeb407aa51b2a8c699de19a9e90500 /init | |
parent | dde8da6cffe73dab81aca3855e717e40db35178c (diff) | |
download | linux-d8be81735aa89413b333de488251f0e64e2be591.tar.xz |
srcu: Create a tiny SRCU
In response to automated complaints about modifications to SRCU
increasing its size, this commit creates a tiny SRCU that is
used in SMP=n && PREEMPT=n builds.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index a92f27da4a27..d269f2ca17b8 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -526,6 +526,18 @@ config SRCU permits arbitrary sleeping or blocking within RCU read-side critical sections. +config TINY_SRCU + bool + default y if TINY_RCU + help + This option selects the single-CPU non-preemptible version of SRCU. + +config TREE_SRCU + bool + default y if !TINY_RCU + help + This option selects the full-fledged version of SRCU. + config TASKS_RCU bool default n |