Re: [PATCH v3 tip/core/rcu 3/9] rcu: Add synchronous grace-period waiting for RCU-tasks

From: Steven Rostedt
Date: Fri Aug 08 2014 - 12:49:43 EST


On Fri, 8 Aug 2014 09:39:05 -0700
"Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> wrote:


> Unless this is done in idle, at which point RCU-sched is studiously
> ignoring any preempt_disable() sections.

ftrace doesn't use synchronize_sched() today because of this. It
instead just does a "schedule_on_each_cpu()" and waits for that to
return before going further.

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