Messages in this thread | | | Date | Thu, 8 Oct 2015 11:01:28 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH tip/core/rcu 18/18] rcu: Better hotplug handling for synchronize_sched_expedited() |
| |
On Wed, Oct 07, 2015 at 09:26:53AM -0700, Paul E. McKenney wrote: > On Wed, Oct 07, 2015 at 04:26:27PM +0200, Peter Zijlstra wrote:
> Indeed, that approach looks better than moving rcu_note_context_switch(), > which probably results in deadlocks. I will update my patch accordingly.
Yeah, calling rcu_note_context_switch() under the rq->lock is asking for trouble we don't need.
Thanks!
| |