diff options
author | Joel Fernandes (Google) <joel@joelfernandes.org> | 2018-05-13 20:15:41 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-12 15:38:53 -0700 |
commit | 5ca0905f6787e930bc2a626cf1d8f69fab52acef (patch) | |
tree | 5bcacd1ddb00b2596b86905b4f2b764ae0a7d8db /kernel/rcu/rcu.h | |
parent | 5b55072f22ba2ed136b7a1b6c5beea9ace8415a7 (diff) |
rcu: Fix cpustart tracepoint gp_seq number
The "cpustart" trace event shows a stale gp_seq. This is because it uses
rdp->gp_seq, which is updated only at the end of the __note_gp_changes()
function. This commit therefore instead uses rnp->gp_seq.
An alternative fix would be to update rdp->gp_seq earlier, but this would
break RCU's detection of the beginning of a new-to-this-CPU grace period.
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/rcu.h')
0 files changed, 0 insertions, 0 deletions