Re: linux-next 20111025: warnings inrcu_idle_exit_common()/rcu_idle_enter_common()
From: Steven Rostedt
Date: Wed Nov 02 2011 - 10:51:55 EST
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@xxxxxxxxx>
> Signed-off-by: Paul E. McKenney <paul.mckenney@xxxxxxxxxx>
> Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
I always knew you had a split personality Paul ;)
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/