]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit627660c6ae434ab080831b37902f298444c77fc4
treeb05a0f3f4e6f857d726022f1b54bd472a37e2265
parentaa8e03cc7af479e1f3c25c736d1e006d4a93b4f6
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