Re: [PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads

2014-07-27 Thread Mathieu Desnoyers
th Kumar" > >> To: "Paul E. McKenney" , "Josh Triplett" > >> , "Steven Rostedt" > >> , "Mathieu Desnoyers" > >> , "Lai Jiangshan" , > >> "open list:READ-COPY UPDATE..." > >> Sent: Sunday

Re: [PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads

2014-07-27 Thread Pranith Kumar
quot;Lai Jiangshan" , >> "open list:READ-COPY UPDATE..." >> Sent: Sunday, July 27, 2014 7:37:29 PM >> Subject: [PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up grace period >> kthreads >> >> The rcu_gp_kthread_wake() function c

Re: [PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads

2014-07-27 Thread Mathieu Desnoyers
- Original Message - > From: "Pranith Kumar" > To: "Paul E. McKenney" , "Josh Triplett" > , "Steven Rostedt" > , "Mathieu Desnoyers" , > "Lai Jiangshan" , > "open list:READ-COPY UPDATE..." >

[PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads

2014-07-27 Thread Pranith Kumar
The rcu_gp_kthread_wake() function checks for three conditions before waking up grace period kthreads: * Is the thread we are trying to wake up the current thread? * Are the gp_flags zero? (all threads wait on non-zero gp_flags condition) * Is there no thread created for this flavour, hence

[PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads

2014-07-27 Thread Pranith Kumar
The rcu_gp_kthread_wake() function checks for three conditions before waking up grace period kthreads: * Is the thread we are trying to wake up the current thread? * Are the gp_flags zero? (all threads wait on non-zero gp_flags condition) * Is there no thread created for this flavour, hence

Re: [PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads

2014-07-27 Thread Mathieu Desnoyers
list:READ-COPY UPDATE... linux-kernel@vger.kernel.org Sent: Sunday, July 27, 2014 7:37:29 PM Subject: [PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads The rcu_gp_kthread_wake() function checks for three conditions before waking up grace period kthreads

Re: [PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads

2014-07-27 Thread Pranith Kumar
Desnoyers mathieu.desnoy...@efficios.com, Lai Jiangshan la...@cn.fujitsu.com, open list:READ-COPY UPDATE... linux-kernel@vger.kernel.org Sent: Sunday, July 27, 2014 7:37:29 PM Subject: [PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads The rcu_gp_kthread_wake

Re: [PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads

2014-07-27 Thread Mathieu Desnoyers
list:READ-COPY UPDATE... linux-kernel@vger.kernel.org Sent: Sunday, July 27, 2014 7:58:40 PM Subject: Re: [PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads On Sun, Jul 27, 2014 at 7:49 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: - Original