Re: [PATCH -tip 1/2] [PATCH -tip 1/2] sched: Reinstate group namesin /proc/sched_debug.

From: Paul E. McKenney
Date: Wed Jan 12 2011 - 18:16:12 EST


On Wed, Jan 12, 2011 at 12:18:32PM +0100, Peter Zijlstra wrote:
> On Wed, 2011-01-12 at 13:19 +0530, Bharata B Rao wrote:
> >
> > We could, but I guess its not a recommended practice anymore to depend on
> > spinlocks to protect rcu readside.
>
> Not only is it not recommended, its a flat out bug for PREEMPT_RCU.

And lockdep-RCU will yell at you under PREEMPT_RCU, which will result
in Miles Lane yelling at me. ;-)

Thanx, Paul
--
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/