mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 17:11:33 +00:00
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 <richard.weiyang@linux.alibaba.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
This commit is contained in:
parent
00943a609d
commit
a2dae43088
@ -73,8 +73,8 @@ struct rcu_node {
|
||||
unsigned long ffmask; /* Fully functional CPUs. */
|
||||
unsigned long grpmask; /* Mask to apply to parent qsmask. */
|
||||
/* Only one bit will be set in this mask. */
|
||||
int grplo; /* lowest-numbered CPU or group here. */
|
||||
int grphi; /* highest-numbered CPU or group here. */
|
||||
int grplo; /* lowest-numbered CPU here. */
|
||||
int grphi; /* highest-numbered CPU here. */
|
||||
u8 grpnum; /* CPU/group number for next level up. */
|
||||
u8 level; /* root is at level 0. */
|
||||
bool wait_blkd_tasks;/* Necessary to wait for blocked tasks to */
|
||||
|
Loading…
Reference in New Issue
Block a user