Re: [PATCH, RFC, tip/core/rcu] v3 scalable classic RCUimplementation

From: Paul E. McKenney
Date: Sat Aug 30 2008 - 10:10:21 EST


On Sat, Aug 30, 2008 at 11:33:00AM +0200, Peter Zijlstra wrote:
> On Fri, 2008-08-29 at 17:49 -0700, Paul E. McKenney wrote:
>
> > Some shortcomings:
> >
> > o Entering and leaving dynticks idle mode is a quiescent state,
> > but the current patch doesn't take advantage of this (noted
> > by Manfred). It appears that it should be possible to make
> > nmi_enter() and nmi_exit() provide an in_nmi(), which would make
> > it possible for rcu_irq_enter() and rcu_irq_exit() to figure
> > out whether it is safe to tell RCU about the quiescent state --
> > and also greatly simplify the code.
>
> Already done and available in the -tip tree, curtesy of Mathieu.

Very cool!!! I see one of his patches at http://lkml.org/lkml/2008/4/17/342,
but how do I find out which branch of -tip this is on? (I am learning
git, but it is a slow process...)

This would also simplify preemptable RCU's dyntick interface, removing
the need for proofs.

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/