rcu-tasks: Use workqueues for multiple rcu_tasks_invoke_cbs() invocations
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 10 Nov 2021 23:56:40 +0000 (15:56 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 9 Dec 2021 18:52:00 +0000 (10:52 -0800)
commitd363f833c6d88331ff013ff0970a96caa8b84653
tree881043075fd4d35736d7124a10ee0d8d1c46b732
parent57881863ad15fbccbfa637b5e4b67cd3a4520643
rcu-tasks: Use workqueues for multiple rcu_tasks_invoke_cbs() invocations

If there is a flood of callbacks, it is necessary to put multiple
CPUs to work invoking those callbacks.  This commit therefore uses a
workqueue-flooding approach to parallelize RCU Tasks callback execution.

Reported-by: Martin Lau <kafai@fb.com>
Cc: Neeraj Upadhyay <neeraj.iitr10@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tasks.h