[PATCH] arm64: defconfig: Disable DEBUG_INFO

Mark Brown broonie at kernel.org
Thu Mar 4 15:18:53 GMT 2021


On Thu, Mar 04, 2021 at 02:48:34PM +0000, Will Deacon wrote:
> On Thu, Mar 04, 2021 at 02:36:47PM +0000, Mark Brown wrote:

> > they allocate to jobs (that's certainly what KernelCI does).  Testing
> > modified versions of configurations isn't great as half the point of
> > using the standard configurations is that everyone's working to the same
> > thing and should in theory be seeing the same stuff, it's easier to name
> > a standard config than name a standard config and a list of tweaks
> > applied to it.

> I'd be fine if arm64 build reports came back as "defconfig+DEBUG_INFO=n"
> and the CI just ran ./scripts/config -d DEBUG_INFO as part of its build
> step. For runtime testing, however, having the full vmlinux available is
> really helpful if we need to debug.

Note that one of the things people are working on at the minute is
trying to aggregate results from different systems together.  Like I say
it's more a case of just allocating more space to these builds rather
than some insurmountable thing that can't be handled.

> > This is about picking a sensible default, there's always going to be
> > cases where someone wants the other value (otherwise it wouldn't be a
> > config option).  The contention is that there's a lot more builds being
> > slowed down by the extra I/O and disk space being burned than benefit to
> > people who end up with the debug info turned on and actively use it but
> > these aren't direct tradeoffs so you can't categorically say something
> > one way or the other.  At the minute defconfig actually results in a
> > bigger build tree than an allmodconfig for me (6.8G vs 5.2G) which
> > doesn't seem like what I'd expect.

> I suppose I'm of the opinion that debug info is a waste of time until you
> need it, and then it's suddenly invaluable. So I'd prefer it to be there by
> default, as I don't think the extra I/O or disk space is a concern outside
> of CI. But it would be good to hear what others have to say.

FWIW with laptops the I/O cost tends to make a difference to the
edit/compile/run time for me, disks are slow and RAM not plentiful.
Right now I'm sitting at a rather high speced desktop so the build trees
I got the storage numbers from were all in RAM backed tmpfs and it makes
very little odds.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210304/82c8b29f/attachment.sig>


More information about the linux-arm-kernel mailing list