Re: cpu stopper threads and load balancing leads to deadlock

From: Peter Zijlstra
Date: Thu May 03 2018 - 13:55:17 EST


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.