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

From: Andrew Morton
Date: Tue Apr 01 2008 - 16:31:17 EST


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.
--
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/