From patchwork Thu Mar 4 17:44:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 12116627 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19A79C433E0 for ; Thu, 4 Mar 2021 17:48:15 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B349464F1E for ; Thu, 4 Mar 2021 17:48:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B349464F1E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=z4OM/R3W/ZoH+jH72hJazmzMEEhL9w3Nfio3tGmrnQ4=; b=GTlphH0iZJKfiV/7whGK2VGCZT sMxcKWE70YvliSLbasHd9KPdbMorGuILu4CtZnhchzF6fCifI6yOZHnj6bXs/JU/Y7oSv1mX5zuto 1P7vwuHQ1I2dRFdLedip9TT1y30R6BQ1OszzY1nzmzL5oadfNQmiGehQXYNGScFG5VKyAbhxMAz1L 0B2wjZwntezVAMN4UWU3Sjbx0l5dNCNJXpaD095pxQm95I+5zFYAWcwTb4XmQXYOFa2sRJJv5btgV HEx6UfSRefcm0vTRZ3Z942tuVEs2+pguEbrmCgkSa7X6pwwmKEIsV8PHBJs0ukepdNi4z7t8Wumfl WWeQ+GcQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lHs38-009TgR-E7; Thu, 04 Mar 2021 17:46:11 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lHs32-009TfE-QB for linux-arm-kernel@lists.infradead.org; Thu, 04 Mar 2021 17:46:07 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0057864F1E; Thu, 4 Mar 2021 17:46:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614879961; bh=zNP2i+m2C8Cc1peddtPZT/oKNZU8/gi9suJ41aWQ004=; h=From:To:Cc:Subject:Date:From; b=UjiK/cUYGB/Kjg53DGTtZ61DIFj86UQgsQQiGKk/JdZq2R+0h/rjtwI1ksXJrvLSi 33X8doG1YDmTZVTyPyMe9w0q7LYr3olXXKpZXWKA9uunG5YuyGWHXAyko5WKJIlMeg oKnV1WkuSE62TqcOj4841m5USJm47tRh8AIgrQ1khqpezTaUS0SBmYdwrvYbR/Idn3 tIRugaFw2Jdmaq1L297/ExgrCEHgP5GP610AKm+OUOgTgBePl5Joqmm9R25thaMIqE ByUsffcsR3hdVEUDXIOavqygx53MdGIz6xP+jjo+MauOOcFmLT4bJqYHNQiEeSuT3o xLLgeRjzy4GmQ== From: Mark Brown To: Will Deacon , Catalin Marinas Cc: linux-arm-kernel@lists.infradead.org, Mark Brown , Guillaume Tucker , Kevin Hilman Subject: [PATCH v2] arm64: defconfig: Use DEBUG_INFO_REDUCED Date: Thu, 4 Mar 2021 17:44:07 +0000 Message-Id: <20210304174407.17537-1-broonie@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Patch-Hashes: v=1; h=sha256; i=//xHGVpmqx5yOVpf67PurWnsoNlWIBtg6EhklWtVMmg=; m=+Xuh7PMQIgapQxDMnRZzwAtQZUC+uKVgb1e3BkvV9VI=; p=RWQfIOVUvXOuJjQK/ek/KRJWqeyXZpL+g1rGsw+dbvM=; g=9783b43bd1f829e9ece75fc1e05c0fb5e15310b6 X-Patch-Sig: m=pgp; i=broonie@kernel.org; s=0xC3F436CA30F5D8EB; b=iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmBBHDMACgkQJNaLcl1Uh9CAEQf/XgA KAUs9qbUakFRg217cWTjSH2LpccRDgJFI58C9LKHQaWDSkU2woRF+Uag6KdrxOfa5ZNWexxZ9SyjQ mGhzu6nyNiTivUzwFdmFzMTniKUWcWUSwwkpz3l/YSMIThElA58s2P6AOn/2mGlap1PEfM7gxMtFc GP0S7vkA1+7vKscZwnIqOd+hiqQ9tHFbNtxhGyF2TM5aFb9VvbP86CCgpkSYmEj7iaHxJp6U9anGJ MuMYofW/62+VSeI7vU+3u0vvn3jqeB8TwxJhdkpn+pLYMOfFSb1EWhiSm4S40HKFizpXs96VEr/r0 SjZkkTcK+awydSpBAOJ4EKHUNlq3kyA== X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. The main use case for the debug info is decoding things with scripts/faddr2line but that doesn't need the full DEBUG_INFO, DEBUG_INFO_REDUCED is enough for it, so enable that by default. Without this patch my build tree is 6.8G, with it the size drops to 2G (smaller than the 6.4G for allmodconfig!). Suggested-by: Catalin Marinas Reported-by: Guillaume Tucker Signed-off-by: Mark Brown Acked-by: Kevin Hilman Acked-by: Will Deacon --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d612f633b771..8793a9cb9d4b 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1156,6 +1156,7 @@ CONFIG_CRYPTO_DEV_HISI_TRNG=m CONFIG_CMA_SIZE_MBYTES=32 CONFIG_PRINTK_TIME=y CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO_REDUCED=y CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_FS=y CONFIG_DEBUG_KERNEL=y