Skip to content

Commit 7a0c2b0

Browse files
weiyang-linuxpaulmckrcu
authored andcommitted
rcu: grpnum just records group number
The ->grpnum field in the rcu_node structure contains the bit position in this structure's parent's bitmasks, which is not the CPU number. This commit therefore adjusts this field's comment accordingly. Signed-off-by: Wei Yang <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent a2dae43 commit 7a0c2b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/rcu/tree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ struct rcu_node {
7575
/* Only one bit will be set in this mask. */
7676
int grplo; /* lowest-numbered CPU here. */
7777
int grphi; /* highest-numbered CPU here. */
78-
u8 grpnum; /* CPU/group number for next level up. */
78+
u8 grpnum; /* group number for next level up. */
7979
u8 level; /* root is at level 0. */
8080
bool wait_blkd_tasks;/* Necessary to wait for blocked tasks to */
8181
/* exit RCU read-side critical sections */

0 commit comments

Comments
 (0)