rcu-tasks: Maintain a count of tasks blocking RCU Tasks Trace grace period
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 2 Jun 2022 04:26:57 +0000 (21:26 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 21 Jun 2022 22:49:38 +0000 (15:49 -0700)
commitffcc21a315e1ebafad51b318e8ac0cb884df0cdc
tree26ef94faf472c023ec5c5911b54811f03331ab51
parent1a4a8153e0df1705397aa3ff561dd8fdc2e6fc23
rcu-tasks: Maintain a count of tasks blocking RCU Tasks Trace grace period

This commit maintains a new n_trc_holdouts counter that tracks the number
of tasks blocking the RCU Tasks grace period.  This counter is useful
for debugging, and its value has been added to a diagostic message.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: Martin KaFai Lau <kafai@fb.com>
Cc: KP Singh <kpsingh@kernel.org>
kernel/rcu/tasks.h