Skip to content

Commit 360fbbb

Browse files
Lihao Liangpaulmckrcu
authored andcommitted
rcu: Update comment from rsp->rcu_gp_seq to rsp->gp_seq
Signed-off-by: Lihao Liang <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 9f47eb5 commit 360fbbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/rcu/tree.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ struct rcu_node {
4141
raw_spinlock_t __private lock; /* Root rcu_node's lock protects */
4242
/* some rcu_state fields as well as */
4343
/* following. */
44-
unsigned long gp_seq; /* Track rsp->rcu_gp_seq. */
44+
unsigned long gp_seq; /* Track rsp->gp_seq. */
4545
unsigned long gp_seq_needed; /* Track furthest future GP request. */
4646
unsigned long completedqs; /* All QSes done for this node. */
4747
unsigned long qsmask; /* CPUs or groups that need to switch in */
@@ -149,7 +149,7 @@ union rcu_noqs {
149149
/* Per-CPU data for read-copy update. */
150150
struct rcu_data {
151151
/* 1) quiescent-state and grace-period handling : */
152-
unsigned long gp_seq; /* Track rsp->rcu_gp_seq counter. */
152+
unsigned long gp_seq; /* Track rsp->gp_seq counter. */
153153
unsigned long gp_seq_needed; /* Track furthest future GP request. */
154154
union rcu_noqs cpu_no_qs; /* No QSes yet for this CPU. */
155155
bool core_needs_qs; /* Core waits for quiesc state. */

0 commit comments

Comments
 (0)