]> www.infradead.org Git - users/willy/xarray.git/commit
rcuscale: Dump grace-period statistics when rcu_scale_writer() stalls
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 2 Aug 2024 00:43:00 +0000 (17:43 -0700)
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>
Wed, 14 Aug 2024 11:36:01 +0000 (17:06 +0530)
commit48c21c020fcacba6deb065c78ac1876418b5be11
tree6db7cfba169f46beeb8a254054c5abf8f3559298
parent42a8a2695ccbb98c15d73703cb39af70cdcf45fb
rcuscale: Dump grace-period statistics when rcu_scale_writer() stalls

This commit adds a .stats function pointer to the rcu_scale_ops structure,
and if this is non-NULL, it is invoked after stack traces are dumped in
response to a rcu_scale_writer() stall.

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