Re: [PATCH tip/core/rcu 1/2] rcu: Add callback-free CPUs

2012-11-02 Thread Paul E. McKenney
On Wed, Oct 31, 2012 at 03:10:04PM +0100, Frederic Weisbecker wrote: > 2012/10/31 Paul E. McKenney : > > +/* > > + * Per-rcu_data kthread, but only for no-CBs CPUs. Each kthread invokes > > + * callbacks queued by the corresponding no-CBs CPU. > > + */ > > +static int rcu_nocb_kthread(void *arg)

Re: [PATCH tip/core/rcu 1/2] rcu: Add callback-free CPUs

2012-11-02 Thread Paul E. McKenney
On Wed, Oct 31, 2012 at 03:10:04PM +0100, Frederic Weisbecker wrote: 2012/10/31 Paul E. McKenney paul...@linux.vnet.ibm.com: +/* + * Per-rcu_data kthread, but only for no-CBs CPUs. Each kthread invokes + * callbacks queued by the corresponding no-CBs CPU. + */ +static int

Re: [PATCH tip/core/rcu 1/2] rcu: Add callback-free CPUs

2012-10-31 Thread Frederic Weisbecker
2012/10/31 Paul E. McKenney : > +/* > + * Per-rcu_data kthread, but only for no-CBs CPUs. Each kthread invokes > + * callbacks queued by the corresponding no-CBs CPU. > + */ > +static int rcu_nocb_kthread(void *arg) > +{ > + int c, cl; > + struct rcu_head *list; > + struct

Re: [PATCH tip/core/rcu 1/2] rcu: Add callback-free CPUs

2012-10-31 Thread Frederic Weisbecker
2012/10/31 Paul E. McKenney paul...@linux.vnet.ibm.com: +/* + * Per-rcu_data kthread, but only for no-CBs CPUs. Each kthread invokes + * callbacks queued by the corresponding no-CBs CPU. + */ +static int rcu_nocb_kthread(void *arg) +{ + int c, cl; + struct rcu_head *list; +

[PATCH tip/core/rcu 1/2] rcu: Add callback-free CPUs

2012-10-30 Thread Paul E. McKenney
From: "Paul E. McKenney" RCU callback execution can add significant OS jitter and also can degrade scheduling latency. This commit therefore adds the ability for selected CPUs ("rcu_nocbs=" boot parameter) to have their callbacks offloaded to kthreads. If the "rcu_nocb_poll" boot parameter is

[PATCH tip/core/rcu 1/2] rcu: Add callback-free CPUs

2012-10-30 Thread Paul E. McKenney
From: Paul E. McKenney paul.mcken...@linaro.org RCU callback execution can add significant OS jitter and also can degrade scheduling latency. This commit therefore adds the ability for selected CPUs (rcu_nocbs= boot parameter) to have their callbacks offloaded to kthreads. If the rcu_nocb_poll