Skip to content
Commit aca2991a authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 6cf539a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment