rcu: Provide rcu_barrier_cb_is_done() to check rcu_barrier() CBs
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 2 Aug 2024 00:34:23 +0000 (17:34 -0700)
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>
Wed, 14 Aug 2024 11:19:56 +0000 (16:49 +0530)
commit54973cdd166b13195a99940cd21a827c3a99cac2
tree6b2f7c6b7683f2ace1cbb452c41946454b2852f3
parent522295774db51ab39ea3d46926555401c8f10130
rcu: Provide rcu_barrier_cb_is_done() to check rcu_barrier() CBs

This commit provides a rcu_barrier_cb_is_done() function that returns
true if the *rcu_barrier*() callback passed in is done.  This will be
used when printing grace-period debugging information.

Signed-off-by: "Paul E. McKenney" <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
kernel/rcu/rcu.h