Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-20 Thread kbuild test robot
Hi, [auto build test ERROR on rcu/rcu/next] [cannot apply to v4.6 next-20160519] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-20 Thread kbuild test robot
Hi, [auto build test ERROR on rcu/rcu/next] [cannot apply to v4.6 next-20160519] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-18 Thread Paul E. McKenney
On Wed, May 18, 2016 at 07:15:09PM +0100, Mark Rutland wrote: > On Wed, May 18, 2016 at 02:02:36PM +0200, Arnd Bergmann wrote: > > It's the missing "possible_" that Mark mentioned in his reply on Friday. > > Actually, that was this morning. My VM on my laptop had a stale date due to >

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-18 Thread Paul E. McKenney
On Wed, May 18, 2016 at 07:15:09PM +0100, Mark Rutland wrote: > On Wed, May 18, 2016 at 02:02:36PM +0200, Arnd Bergmann wrote: > > It's the missing "possible_" that Mark mentioned in his reply on Friday. > > Actually, that was this morning. My VM on my laptop had a stale date due to >

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-18 Thread Mark Rutland
On Wed, May 18, 2016 at 02:02:36PM +0200, Arnd Bergmann wrote: > It's the missing "possible_" that Mark mentioned in his reply on Friday. Actually, that was this morning. My VM on my laptop had a stale date due to suspend/resume of the host. :/ I should be back at a real computer by Friday, and

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-18 Thread Mark Rutland
On Wed, May 18, 2016 at 02:02:36PM +0200, Arnd Bergmann wrote: > It's the missing "possible_" that Mark mentioned in his reply on Friday. Actually, that was this morning. My VM on my laptop had a stale date due to suspend/resume of the host. :/ I should be back at a real computer by Friday, and

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-18 Thread Arnd Bergmann
On Tuesday 17 May 2016 17:12:51 Paul E. McKenney wrote: > And some build errors: > > In file included from > /home/paulmck/public_git/linux-rcu/kernel/rcu/tree.c:4209:0: > /home/paulmck/public_git/linux-rcu/kernel/rcu/tree_plugin.h: In function > ‘rcu_boost_kthread_setaffinity’: >

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-18 Thread Arnd Bergmann
On Tuesday 17 May 2016 17:12:51 Paul E. McKenney wrote: > And some build errors: > > In file included from > /home/paulmck/public_git/linux-rcu/kernel/rcu/tree.c:4209:0: > /home/paulmck/public_git/linux-rcu/kernel/rcu/tree_plugin.h: In function > ‘rcu_boost_kthread_setaffinity’: >

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-18 Thread Mark Rutland
On Tue, May 17, 2016 at 12:01:06PM -0700, Paul E. McKenney wrote: > On Tue, May 17, 2016 at 11:22:10AM +0100, Mark Rutland wrote: > > /* > > + * Iterate over all possible CPUs in a leaf RCU node. > > + */ > > +#define for_each_leaf_node_possible_cpu(rnp, cpu) \ > > + for ((cpu) = rnp->grplo; \

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-18 Thread Mark Rutland
On Tue, May 17, 2016 at 12:01:06PM -0700, Paul E. McKenney wrote: > On Tue, May 17, 2016 at 11:22:10AM +0100, Mark Rutland wrote: > > /* > > + * Iterate over all possible CPUs in a leaf RCU node. > > + */ > > +#define for_each_leaf_node_possible_cpu(rnp, cpu) \ > > + for ((cpu) = rnp->grplo; \

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-17 Thread Paul E. McKenney
On Tue, May 17, 2016 at 12:01:06PM -0700, Paul E. McKenney wrote: > On Tue, May 17, 2016 at 11:22:10AM +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

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-17 Thread Paul E. McKenney
On Tue, May 17, 2016 at 12:01:06PM -0700, Paul E. McKenney wrote: > On Tue, May 17, 2016 at 11:22:10AM +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

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-17 Thread Paul E. McKenney
On Tue, May 17, 2016 at 11:22:10AM +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

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-17 Thread Paul E. McKenney
On Tue, May 17, 2016 at 11:22:10AM +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

[PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-17 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

[PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-17 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