Re: [PATCHv4] rcu: tree: correctly handle sparse possible cpus

2016-06-04 Thread Paul E. McKenney
On Fri, Jun 03, 2016 at 03:20:04PM +0100, Mark Rutland wrote: > In many cases in the RCU tree code, we iterate over the set of cpus for > a leaf node described by rcu_node::grplo and rcu_node::grphi, checking > per-cpu data for each cpu in this range. However, if the set of possible > cpus is spars

[PATCHv4] rcu: tree: correctly handle sparse possible cpus

2016-06-03 Thread Mark Rutland
In many cases in the RCU tree code, we iterate over the set of cpus for a leaf node described by rcu_node::grplo and rcu_node::grphi, checking per-cpu data for each cpu in this range. However, if the set of possible cpus is sparse, some cpus described in this range are not possible, and thus no per