]> www.infradead.org Git - users/willy/xarray.git/commit
rcu: Mark callbacks not currently participating in barrier operation
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 2 Aug 2024 00:43:01 +0000 (17:43 -0700)
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>
Wed, 14 Aug 2024 11:36:01 +0000 (17:06 +0530)
commit0616f7e981968743edb1ef758ba1a0e984240419
treef154a029e5fbd5399d17b70f7438abc5a1a9a37e
parent48c21c020fcacba6deb065c78ac1876418b5be11
rcu: Mark callbacks not currently participating in barrier operation

RCU keeps a count of the number of callbacks that the current
rcu_barrier() is waiting on, but there is currently no easy way to
work out which callback is stuck.  One way to do this is to mark idle
RCU-barrier callbacks by making the ->next pointer point to the callback
itself, and this commit does just that.

Later commits will use this for debug output.

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