[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210106234212.GA20560@paulmck-ThinkPad-P72>
Date: Wed, 6 Jan 2021 15:42:12 -0800
From: "Paul E. McKenney" <paulmck@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, rcu@...r.kernel.org,
linux-mm@...ck.org, cl@...ux.com, penberg@...nel.org,
rientjes@...gle.com, iamjoonsoo.kim@....com, ming.lei@...hat.com,
axboe@...nel.dk, kernel-team@...com
Subject: Re: [PATCH v4 sl-b 0/6] Export return addresses etc. for better
diagnostics
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@...nel.org> 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
Powered by blists - more mailing lists