[tip: core/rcu] rcu: Make TASKS_TRACE_RCU select IRQ_WORK

From: tip-bot2 for Paul E. McKenney
Date: Fri Feb 12 2021 - 08:02:49 EST


The following commit has been merged into the core/rcu branch of tip:

Commit-ID: c26165efac41bce0c7764262b21f5897e771f34f
Gitweb: https://git.kernel.org/tip/c26165efac41bce0c7764262b21f5897e771f34f
Author: Paul E. McKenney <paulmck@xxxxxxxxxx>
AuthorDate: Mon, 21 Dec 2020 21:00:18 -08:00
Committer: Paul E. McKenney <paulmck@xxxxxxxxxx>
CommitterDate: Mon, 04 Jan 2021 15:54:49 -08:00

rcu: Make TASKS_TRACE_RCU select IRQ_WORK

Tasks Trace RCU uses irq_work_queue() to safely awaken its grace-period
kthread, so this commit therefore causes the TASKS_TRACE_RCU Kconfig
option select the IRQ_WORK Kconfig option.

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> # build-tested
Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
---
kernel/rcu/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/rcu/Kconfig b/kernel/rcu/Kconfig
index b71e21f..84dfa8d 100644
--- a/kernel/rcu/Kconfig
+++ b/kernel/rcu/Kconfig
@@ -95,6 +95,7 @@ config TASKS_RUDE_RCU

config TASKS_TRACE_RCU
def_bool 0
+ select IRQ_WORK
help
This option enables a task-based RCU implementation that uses
explicit rcu_read_lock_trace() read-side markers, and allows