nocb: Remove show_rcu_nocb_state() false positive printout
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 22 Jun 2020 23:46:43 +0000 (16:46 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 25 Aug 2020 01:36:06 +0000 (18:36 -0700)
commit2130c6b4f610ea65e9df71dfa79ee08f2fc17743
tree9c913c38e05e7b0c01827dee26ddd90156d6091d
parent9b1ce0acb5e65e9ea1e6b322562d072f9f7d1f6e
nocb: Remove show_rcu_nocb_state() false positive printout

The rcu_data structure's ->nocb_timer field is used to defer wakeups of
the corresponding no-CBs CPU's grace-period kthread ("rcuog*"), and that
structure's ->nocb_defer_wakeup field is used to track such deferral.
This means that the show_rcu_nocb_state() printing an error when those
fields are set for a CPU not corresponding to a no-CBs grace-period
kthread is erroneous.

This commit therefore switches the check from ->nocb_timer to
->nocb_bypass_timer and removes the check of ->nocb_defer_wakeup.

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