Re: cpu stopper threads and load balancing leads to deadlock
From: Paul E. McKenney
Date: Thu May 03 2018 - 14:23:15 EST
On Thu, May 03, 2018 at 07:54:56PM +0200, Peter Zijlstra wrote:
> On Thu, May 03, 2018 at 10:18:50AM -0700, Paul E. McKenney wrote:
> > > + if (per_cpu(rcu_cpu_started, cpu))
> >
> > I would log a non-splat dmesg the first time this happened, just for my
> > future sanity, but otherwise looks fine. I am a bit concerned about
> > calls to rcu_cpu_starting() getting sprinkled all through the code.
> > Or am I being excessively paranoid?
>
> Don't think so, but lets first see if this at all works. If not we'll
> need to figure out something else anyway.
Works for me!
Thanx, Paul