Re: [PATCH RFC tip/core/rcu 2/2] rcu: Create rcuo kthreads only for onlined CPUs

2014-07-18 Thread Sasha Levin
On 07/18/2014 08:55 AM, Paul E. McKenney wrote: > On Fri, Jul 18, 2014 at 07:17:17AM -0400, Sasha Levin wrote: >> > On 07/14/2014 06:06 AM, Paul E. McKenney wrote: >>> > > From: "Paul E. McKenney" >>> > > >>> > > RCU currently uses for_each_possible_cpu() to spawn rcuo kthreads, >>> > > which

Re: [PATCH RFC tip/core/rcu 2/2] rcu: Create rcuo kthreads only for onlined CPUs

2014-07-18 Thread Paul E. McKenney
On Fri, Jul 18, 2014 at 07:17:17AM -0400, Sasha Levin wrote: > On 07/14/2014 06:06 AM, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > > > RCU currently uses for_each_possible_cpu() to spawn rcuo kthreads, > > which can result in more rcuo kthreads than one would expect, for > >

Re: [PATCH RFC tip/core/rcu 2/2] rcu: Create rcuo kthreads only for onlined CPUs

2014-07-18 Thread Sasha Levin
On 07/14/2014 06:06 AM, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > RCU currently uses for_each_possible_cpu() to spawn rcuo kthreads, > which can result in more rcuo kthreads than one would expect, for > example, derRichard reported 64 CPUs worth of rcuo kthreads on an > 8-CPU image.

Re: [PATCH RFC tip/core/rcu 2/2] rcu: Create rcuo kthreads only for onlined CPUs

2014-07-18 Thread Sasha Levin
On 07/14/2014 06:06 AM, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com RCU currently uses for_each_possible_cpu() to spawn rcuo kthreads, which can result in more rcuo kthreads than one would expect, for example, derRichard reported 64 CPUs worth of rcuo kthreads

Re: [PATCH RFC tip/core/rcu 2/2] rcu: Create rcuo kthreads only for onlined CPUs

2014-07-18 Thread Paul E. McKenney
On Fri, Jul 18, 2014 at 07:17:17AM -0400, Sasha Levin wrote: On 07/14/2014 06:06 AM, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com RCU currently uses for_each_possible_cpu() to spawn rcuo kthreads, which can result in more rcuo kthreads than one would expect,

Re: [PATCH RFC tip/core/rcu 2/2] rcu: Create rcuo kthreads only for onlined CPUs

2014-07-18 Thread Sasha Levin
On 07/18/2014 08:55 AM, Paul E. McKenney wrote: On Fri, Jul 18, 2014 at 07:17:17AM -0400, Sasha Levin wrote: On 07/14/2014 06:06 AM, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com RCU currently uses for_each_possible_cpu() to spawn rcuo kthreads, which

Re: [PATCH RFC tip/core/rcu 2/2] rcu: Create rcuo kthreads only for onlined CPUs

2014-07-16 Thread Paul E. McKenney
On Mon, Jul 14, 2014 at 12:48:54PM -0400, Pranith Kumar wrote: > > On 07/14/2014 06:06 AM, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > > > RCU currently uses for_each_possible_cpu() to spawn rcuo kthreads, > > which can result in more rcuo kthreads than one would expect, for > >

Re: [PATCH RFC tip/core/rcu 2/2] rcu: Create rcuo kthreads only for onlined CPUs

2014-07-16 Thread Paul E. McKenney
On Mon, Jul 14, 2014 at 12:48:54PM -0400, Pranith Kumar wrote: On 07/14/2014 06:06 AM, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com RCU currently uses for_each_possible_cpu() to spawn rcuo kthreads, which can result in more rcuo kthreads than one would

Re: [PATCH RFC tip/core/rcu 2/2] rcu: Create rcuo kthreads only for onlined CPUs

2014-07-14 Thread Pranith Kumar
On 07/14/2014 06:06 AM, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > RCU currently uses for_each_possible_cpu() to spawn rcuo kthreads, > which can result in more rcuo kthreads than one would expect, for > example, derRichard reported 64 CPUs worth of rcuo kthreads on an > 8-CPU image.

[PATCH RFC tip/core/rcu 2/2] rcu: Create rcuo kthreads only for onlined CPUs

2014-07-14 Thread Paul E. McKenney
From: "Paul E. McKenney" RCU currently uses for_each_possible_cpu() to spawn rcuo kthreads, which can result in more rcuo kthreads than one would expect, for example, derRichard reported 64 CPUs worth of rcuo kthreads on an 8-CPU image. This commit therefore creates rcuo kthreads only for those

[PATCH RFC tip/core/rcu 2/2] rcu: Create rcuo kthreads only for onlined CPUs

2014-07-14 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com RCU currently uses for_each_possible_cpu() to spawn rcuo kthreads, which can result in more rcuo kthreads than one would expect, for example, derRichard reported 64 CPUs worth of rcuo kthreads on an 8-CPU image. This commit therefore creates rcuo

Re: [PATCH RFC tip/core/rcu 2/2] rcu: Create rcuo kthreads only for onlined CPUs

2014-07-14 Thread Pranith Kumar
On 07/14/2014 06:06 AM, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com RCU currently uses for_each_possible_cpu() to spawn rcuo kthreads, which can result in more rcuo kthreads than one would expect, for example, derRichard reported 64 CPUs worth of rcuo kthreads