[PATCH] arm64: defconfig: Disable DEBUG_INFO

Kevin Hilman khilman at baylibre.com
Wed Mar 3 19:24:36 GMT 2021


Mark Brown <broonie at kernel.org> writes:

> We've had DEBUG_INFO enabled for arm64 defconfigs since the initial
> commit.  This is probably not that frequently used but substantially
> inflates the size of the build tree and amount of I/O needed during the
> build.  This was causing issues with storage usage in some automated CI
> environments which don't expect defconfigs to be quite this big, and
> generally increases the resource consumption for both them and people
> doing local builds.  Turn the option off by default to remove these
> overheads from the default, people can always enable DEBUG_INFO if they
> need it.
>
> Without this patch my build tree is 6.8G, with it the size drops to 909M.
>
> Reported-by: Guillaume Tucker <guillaume.tucker at collabora.com>
> Signed-off-by: Mark Brown <broonie at kernel.org>
> Cc: Kevin Hilman <khilman at baylibre.com>

Yes please.

Acked-by: Kevin Hilman <khilman at baylibre.com>

> ---
>  arch/arm64/configs/defconfig | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index d612f633b771..c246dfc0a175 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -1155,7 +1155,6 @@ CONFIG_CRYPTO_DEV_HISI_HPRE=m
>  CONFIG_CRYPTO_DEV_HISI_TRNG=m
>  CONFIG_CMA_SIZE_MBYTES=32
>  CONFIG_PRINTK_TIME=y
> -CONFIG_DEBUG_INFO=y
>  CONFIG_MAGIC_SYSRQ=y
>  CONFIG_DEBUG_FS=y
>  CONFIG_DEBUG_KERNEL=y
> -- 
> 2.20.1



More information about the linux-arm-kernel mailing list