Re: [PATCH v4 sl-b 0/6] Export return addresses etc. for better diagnostics

From: Paul E. McKenney
Date: Wed Jan 06 2021 - 18:42:55 EST


On Wed, Jan 06, 2021 at 01:48:43PM -0800, Andrew Morton wrote:
> On Tue, 5 Jan 2021 17:16:03 -0800 "Paul E. McKenney" <paulmck@xxxxxxxxxx> wrote:
>
> > This is v4 of the series the improves diagnostics by providing access
> > to additional information including the return addresses, slab names,
> > offsets, and sizes collected by the sl*b allocators and by vmalloc().
>
> Looks reasonable. And not as bloaty as I feared, but it does add ~300
> bytes to my allnoconfig build. Is the CONFIG_ coverage as tight as it
> could be?

Glad I managed to exceed your expectations. ;-)

Let's see... When I do an allnoconfig build, it has CONFIG_PRINTK=n.
Given that this facility is based on printk(), I could create an
additional patch that #ifdef'ed everything out in CONFIG_PRINTK=n kernels.
This would uglify things a bit, but it would save ~300 bytes.

If I don't hear otherwise from you, I will put something together,
test it, and send it along.

Thanx, Paul