Re: [PATCH 3/3] kernel/smp: add more data to CSD lock debugging

From: Peter Zijlstra
Date: Fri Feb 26 2021 - 16:06:43 EST


On Fri, Feb 26, 2021 at 10:12:05AM -0800, Paul E. McKenney wrote:
> On Fri, Feb 26, 2021 at 05:38:44PM +0100, Peter Zijlstra wrote:
> >
> > I hate all of this, but if this will finally catch the actual problem,
> > we can then revert all this, so sure.
>
> OK, I will bite... What exactly do you hate about it?

It's ugly and messy. We're basically commiting a debug session. Normally
gunk like this is done in private trees, then we find the problem and
fix that and crap like this never sees the light of day.