Re: [RFC PATCH 1/1] rcu: Use separate wait queues for leaders and followers

2014-07-28 Thread Paul E. McKenney
On Mon, Jul 28, 2014 at 10:58:07AM -0400, Pranith Kumar wrote: > Commit fbce7497ee5a ("rcu: Parallelize and economize NOCB kthread wakeups") > > tries to reduce the wake up overhead by creating leader and follower nocb > kthreads. > > One thing overlooked here is that all the kthreads wait on

Re: [RFC PATCH 1/1] rcu: Use separate wait queues for leaders and followers

2014-07-28 Thread Pranith Kumar
On Mon, Jul 28, 2014 at 10:58 AM, Pranith Kumar wrote: > Commit fbce7497ee5a ("rcu: Parallelize and economize NOCB kthread wakeups") > > tries to reduce the wake up overhead by creating leader and follower nocb > kthreads. > > One thing overlooked here is that all the kthreads wait on the same

[RFC PATCH 1/1] rcu: Use separate wait queues for leaders and followers

2014-07-28 Thread Pranith Kumar
Commit fbce7497ee5a ("rcu: Parallelize and economize NOCB kthread wakeups") tries to reduce the wake up overhead by creating leader and follower nocb kthreads. One thing overlooked here is that all the kthreads wait on the same wait queue. When we try to wake up the leader threads on the wait

[RFC PATCH 1/1] rcu: Use separate wait queues for leaders and followers

2014-07-28 Thread Pranith Kumar
Commit fbce7497ee5a (rcu: Parallelize and economize NOCB kthread wakeups) tries to reduce the wake up overhead by creating leader and follower nocb kthreads. One thing overlooked here is that all the kthreads wait on the same wait queue. When we try to wake up the leader threads on the wait

Re: [RFC PATCH 1/1] rcu: Use separate wait queues for leaders and followers

2014-07-28 Thread Pranith Kumar
On Mon, Jul 28, 2014 at 10:58 AM, Pranith Kumar bobby.pr...@gmail.com wrote: Commit fbce7497ee5a (rcu: Parallelize and economize NOCB kthread wakeups) tries to reduce the wake up overhead by creating leader and follower nocb kthreads. One thing overlooked here is that all the kthreads wait

Re: [RFC PATCH 1/1] rcu: Use separate wait queues for leaders and followers

2014-07-28 Thread Paul E. McKenney
On Mon, Jul 28, 2014 at 10:58:07AM -0400, Pranith Kumar wrote: Commit fbce7497ee5a (rcu: Parallelize and economize NOCB kthread wakeups) tries to reduce the wake up overhead by creating leader and follower nocb kthreads. One thing overlooked here is that all the kthreads wait on the same