[PATCH v5 tip/core/rcu 11/16] rcu: Defer rcu_tasks_kthread() creation till first call_rcu_tasks()

2014-08-11 Thread Paul E. McKenney
From: "Paul E. McKenney" It is expected that many sites will have CONFIG_TASKS_RCU=y, but will never actually invoke call_rcu_tasks(). For such sites, creating rcu_tasks_kthread() at boot is wasteful. This commit therefore defers creation of this kthread until the time of the first call_rcu_tas

Re: [PATCH v5 tip/core/rcu 11/16] rcu: Defer rcu_tasks_kthread() creation till first call_rcu_tasks()

2014-08-14 Thread Pranith Kumar
On Mon, Aug 11, 2014 at 6:49 PM, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > It is expected that many sites will have CONFIG_TASKS_RCU=y, but > will never actually invoke call_rcu_tasks(). For such sites, creating > rcu_tasks_kthread() at boot is wasteful. This commit therefore defer

Re: [PATCH v5 tip/core/rcu 11/16] rcu: Defer rcu_tasks_kthread() creation till first call_rcu_tasks()

2014-08-14 Thread Paul E. McKenney
On Thu, Aug 14, 2014 at 06:28:53PM -0400, Pranith Kumar wrote: > On Mon, Aug 11, 2014 at 6:49 PM, Paul E. McKenney > wrote: > > From: "Paul E. McKenney" > > > > It is expected that many sites will have CONFIG_TASKS_RCU=y, but > > will never actually invoke call_rcu_tasks(). For such sites, creat