Skip to content

Commit a2dae43

Browse files
weiyang-linuxpaulmckrcu
authored andcommitted
rcu: grplo/grphi just records CPU number
The ->grplo and ->grphi fields store the lowest and highest CPU number covered by to a rcu_node structure, which is not the group number. This commit therefore adjusts these fields' comments to match reality. Signed-off-by: Wei Yang <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 00943a6 commit a2dae43

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
@@ -73,8 +73,8 @@ struct rcu_node {
7373
unsigned long ffmask; /* Fully functional CPUs. */
7474
unsigned long grpmask; /* Mask to apply to parent qsmask. */
7575
/* Only one bit will be set in this mask. */
76-
int grplo; /* lowest-numbered CPU or group here. */
77-
int grphi; /* highest-numbered CPU or group here. */
76+
int grplo; /* lowest-numbered CPU here. */
77+
int grphi; /* highest-numbered CPU here. */
7878
u8 grpnum; /* CPU/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 */

0 commit comments

Comments
 (0)