rcu-tasks: Ensure RCU Tasks Trace loops have quiescent states
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 18 Jul 2022 17:57:26 +0000 (10:57 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 31 Aug 2022 12:10:55 +0000 (05:10 -0700)
commitd6ad60635cafe900bcd11ad588d8accb36c36b1b
treeb05a0f3f4e6f857d726022f1b54bd472a37e2265
parentfcd53c8a4dfa38bafb89efdd0b0f718f3a03f884
rcu-tasks: Ensure RCU Tasks Trace loops have quiescent states

The RCU Tasks Trace grace-period kthread loops across all CPUs, and
there can be quite a few CPUs, with some commercially available systems
sporting well over a thousand of them.  Some of these loops can feature
IPIs, which can take some time.  This commit therefore places a call to
cond_resched_tasks_rcu_qs() in each such loop.

Link: https://docs.google.com/document/d/1V0YnG1HTWMt9WHJjroiJL9lf-hMrud4v8Fn3fhyY0cI/edit?usp=sharing
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tasks.h