Re: [PATCH RFC smp] Remove diagnostics and adjust config for CSD lock diagnostics

From: Peter Zijlstra
Date: Wed Mar 22 2023 - 05:57:50 EST


On Tue, Mar 21, 2023 at 08:38:50AM -0700, Paul E. McKenney wrote:
> On Tue, Mar 21, 2023 at 11:22:20AM +0100, Peter Zijlstra wrote:
> > On Mon, Mar 20, 2023 at 05:54:39PM -0700, Paul E. McKenney wrote:
> > > Hello!
> > >
> > > This series removes CSD-lock diagnostics that were once very useful
> > > but which have not seen much action since. It also adjusts Kconfig and
> > > kernel-boot-parameter setup.
> > >
> > > 1. locking/csd_lock: Add Kconfig option for csd_debug default.
> > >
> > > 2. locking/csd_lock: Remove added data from CSD lock debugging.
> > >
> > > 3. locking/csd_lock: Remove per-CPU data indirection from CSD
> > > lock debugging.
> > >
> > > 4. kernel/smp: Make csdlock_debug= resettable.
> > >
> > > Thanx, Paul
> > >
> > > ------------------------------------------------------------------------
> > >
> > > Documentation/admin-guide/kernel-parameters.txt | 17 -
> > > b/Documentation/admin-guide/kernel-parameters.txt | 6
> > > b/kernel/smp.c | 2
> > > b/lib/Kconfig.debug | 9
> > > kernel/smp.c | 260 ++--------------------
> > > 5 files changed, 47 insertions(+), 247 deletions(-)
> >
> > Yay!! How do you want to route these, should I take them through tip?
>
> Either way works for me. If you take them into -tip, I will drop them
> from -rcu. If you don't take them into -tip, I will send Linus a pull
> request for the upcoming merge window. And if you take them at just
> the wrong time, we will both send them to Linus. ;-)
>
> Your choice!

OK, since they conflict a wee bit with Valentin's IPI tracepoint stuff,
I'm probably going to take both these series, let me stomp on the
conflict and feed it to the robots to see how bad it all gets :-)

I'll let you know if/when i'll push them to -tip.