rcu/trace: Use gp_seq_req in acceleration's rcu_grace_period tracepoint
authorJoel Fernandes (Google) <joel@joelfernandes.org>
Fri, 19 Jun 2020 01:36:40 +0000 (21:36 -0400)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 25 Aug 2020 01:36:04 +0000 (18:36 -0700)
commita7886e899fd8334a03d37e66ad10295d175725ea
tree48ba829a0e0a0cedf5f67458a86a0b74d77c4f7e
parentc30068f41a0e899f870e0158a2c69c68d738bf96
rcu/trace: Use gp_seq_req in acceleration's rcu_grace_period tracepoint

During acceleration of CB, the rsp's gp_seq is rcu_seq_snap'd. This is
the value used for acceleration - it is the value of gp_seq at which it
is safe the execute all callbacks in the callback list.

The rdp's gp_seq is not very useful for this scenario. Make
rcu_grace_period report the gp_seq_req instead as it allows one to
reason about how the acceleration works.

Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.c