lkml.org 
[lkml]   [2011]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: linux-next 20111025: warnings in rcu_idle_exit_common()/rcu_idle_enter_common()
From
Date
On Wed, 2011-11-02 at 07:44 -0700, Paul E. McKenney wrote:

> rcu: Fix idle-task checks
>
> RCU has traditionally relied on idle_cpu() to determine whether a given
> CPU is running in the context of an idle task, but recent changes have
> invalidated this approach. This commit therefore switches from idle_cpu
> to "current->pid != 0".
>
> Suggested-by: Carsten Emde <C.Emde@osadl.org>



> Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>


I always knew you had a split personality Paul ;)

-- Steve




\
 
 \ /
  Last update: 2011-11-02 15:55    [W:0.127 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site