rcu-tasks: Abstract invocations of callbacks
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 9 Nov 2021 23:34:56 +0000 (15:34 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 9 Dec 2021 18:51:44 +0000 (10:51 -0800)
commit57881863ad15fbccbfa637b5e4b67cd3a4520643
treea1cce01b702f39806c1f98255feb2d7ddba1898e
parent4d1114c05467b5f421d99121bff22a9633390722
rcu-tasks: Abstract invocations of callbacks

This commit adds a rcu_tasks_invoke_cbs() function that invokes all
ready callbacks on all of the per-CPU lists that are currently in use.

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