Re: [PATCH for 2.6.25] Markers - use synchronize_sched()

From: Paul E. McKenney
Date: Tue Apr 01 2008 - 16:46:18 EST


On Tue, Apr 01, 2008 at 01:30:17PM -0700, Andrew Morton wrote:
> On Mon, 31 Mar 2008 09:16:09 -0400
> Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> wrote:
>
> > Use synchronize_sched before calling call_rcu in CONFIG_PREEMPT_RCU until we
> > have call_rcu_sched and rcu_barrier_sched in mainline. It will slow down the
> > marker operations in CONFIG_PREEMPT_RCU, but it fixes the current race against
> > the preempt_disable/enable() protected code paths.
>
> A better changelog would have described the bug which is being fixed.
>
> > Paul, is this ok ? It would be good to get this in for 2.6.25 final.
>
> Paul seems to have nodded off. I'll merge it.

Paul seems to have fat-fingered the earlier message. But he does see the
message adding this to -mm, and the patch looks good to 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/