rcu-tasks: Make show_rcu_tasks_generic_gp_kthread() check all CPUs
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 28 Mar 2022 23:00:05 +0000 (16:00 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 12 Apr 2022 00:06:43 +0000 (17:06 -0700)
commit10b3742f939c51d53619a31a5c03055c5e0952b4
treee99ed72c1c1b401b12355a822e6678b423e6c427
parentbddf7122f7e321d5a677a695e8597064d987482c
rcu-tasks: Make show_rcu_tasks_generic_gp_kthread() check all CPUs

Currently, the show_rcu_tasks_generic_gp_kthread() function only looks
at CPU 0's callback lists.  Although this is not fatal, it can confuse
debugging efforts in cases where any of the Tasks RCU flavors are in
per-CPU queueing mode.  This commit therefore causes this function to
scan all CPUs' callback queues.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tasks.h