diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-03-03 20:49:21 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-04-27 20:03:51 +0200 |
commit | 5873b8a94e5dae04b8e11fc798df512614e6d1e7 (patch) | |
tree | f71396ef9084edb9391fb96de3dcc6e89b690ec4 /kernel/rcu/Kconfig | |
parent | rcutorture: Add a test for synchronize_rcu_mult() (diff) | |
download | linux-5873b8a94e5dae04b8e11fc798df512614e6d1e7.tar.xz linux-5873b8a94e5dae04b8e11fc798df512614e6d1e7.zip |
rcu-tasks: Refactor RCU-tasks to allow variants to be added
This commit splits out generic processing from RCU-tasks-specific
processing in order to allow additional flavors to be added. It also
adds a def_bool TASKS_RCU_GENERIC to enable the common RCU-tasks
infrastructure code.
This is primarily, but not entirely, a code-movement commit.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu/Kconfig')
-rw-r--r-- | kernel/rcu/Kconfig | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/kernel/rcu/Kconfig b/kernel/rcu/Kconfig index 1cc940fef17c..38475d0bc634 100644 --- a/kernel/rcu/Kconfig +++ b/kernel/rcu/Kconfig @@ -70,13 +70,19 @@ config TREE_SRCU help This option selects the full-fledged version of SRCU. +config TASKS_RCU_GENERIC + def_bool TASKS_RCU + select SRCU + help + This option enables generic infrastructure code supporting + task-based RCU implementations. Not for manual selection. + config TASKS_RCU def_bool PREEMPTION - select SRCU help This option enables a task-based RCU implementation that uses only voluntary context switch (not preemption!), idle, and - user-mode execution as quiescent states. + user-mode execution as quiescent states. Not for manual selection. config RCU_STALL_COMMON def_bool TREE_RCU |