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>
Цей коміт міститься в:
Paul E. McKenney
2017-03-25 09:59:38 -07:00
джерело dde8da6cff
коміт d8be81735a
7 змінених файлів з 411 додано та 62 видалено

Переглянути файл

@@ -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