commit | 8b8e84cc692e26129ef27214e9049984a5072e4b | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@kernel.org> | Wed Oct 30 06:51:57 2019 -0700 |
committer | Paul E. McKenney <paulmck@kernel.org> | Wed Oct 30 06:51:57 2019 -0700 |
tree | fea70817871e34fbd161767f68820e880f55f4a2 | |
parent | 83bbb5eb9ad8b1585173b1569477a093c3dd09a0 [diff] |
rcu: Substitute lookup for bit-twiddling in sync_rcu_exp_select_node_cpus() The code in sync_rcu_exp_select_node_cpus() calculates the current CPU's mask within its rcu_node structure's bitmasks, but this has already been computed in the ->grpmask field of that CPU's rcu_data structure. This commit therefore just uses this ->grpmask field. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>