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=-5.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 A7BCEC433DB for ; Thu, 4 Mar 2021 14:41:18 +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 3B45764F6C for ; Thu, 4 Mar 2021 14:41:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B45764F6C 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-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kCOqtQHycylugl8OvqUN8S5y4+D4gzPe2RjrcPdOEKc=; b=SYpfWK56LFgVVQatf3vnw9D+D eu4oPAKoPbX91goRDHSyy7g/KPrVNj4YZCFSEr0R1mKA4YMWp8XTIwUhORnaouUDFCrOxgeKXLsl9 hfrR2gUsMbiqVZCxRyBhzqXaI5Su1fmh9snGrW68Btt6KsM3XZyYlYnA1Oghoim6rqAMY0aTAGBeH nOFFyA1G9kQWPjIxyOeRDAs1+2XUIetFp7oyJgUNAqw1vNQi9h/HdwyzY50XemxNkeEuKRAXWz9eV FWbhbv2Gs4QifxBxyIaAHIewsammYnTT6LaNW/8q87e6BJB7QXQLcbYLkm0eLNfruokOIbJFgznBY wm41IO2hw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lHp87-008vKT-Vc; Thu, 04 Mar 2021 14:39:08 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lHp6z-008vBu-V4 for linux-arm-kernel@lists.infradead.org; Thu, 04 Mar 2021 14:37:59 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 17B7C64F59; Thu, 4 Mar 2021 14:37:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614868676; bh=8WmcTViJIEvs/xqdacwj6i2i8p4TtMwKLP8faCQHWmQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Wp1oPhO/gEx+Y1aXFYiyHarn5xHaSq+OR2wsGvyiohIjtd/+1k8Q77KCSVJ+qVx4l FMzDus7g54Yg3a4gaS7WIGQBSeLu7vZrrv9WGVUzVrjmdRKan7Gvsvmjm91JoivquL gHUGZbDuOkJo/tcNIdWvSO9MGpyzo4QFbufQdaIBCXaRUiAlrzhS00EI5hCvd6hB+/ YaWaLjzvkZoy9UNy3lRMr3G9w1PdVy8hQhxvNhGm0ZEAC9JLlaOYUGR0aNx0hR/5fp REKU3Y0cKu+hVB86rhBsq+uQ7tI4XQnMh7Ep70em3Nj+SlQnXN+K87ZuPCCTBtnNdV B/czVSGpnrnLg== Date: Thu, 4 Mar 2021 14:36:47 +0000 From: Mark Brown To: Will Deacon Cc: Catalin Marinas , linux-arm-kernel@lists.infradead.org, Guillaume Tucker , Kevin Hilman Subject: Re: [PATCH] arm64: defconfig: Disable DEBUG_INFO Message-ID: <20210304143647.GB4731@sirena.org.uk> References: <20210302185852.5790-1-broonie@kernel.org> <20210304125623.GB20956@willie-the-truck> MIME-Version: 1.0 In-Reply-To: <20210304125623.GB20956@willie-the-truck> X-Cookie: I think my career is ruined! User-Agent: Mutt/1.10.1 (2018-07-13) 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: , Content-Type: multipart/mixed; boundary="===============1014806674098067683==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1014806674098067683== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IrhDeMKUP4DT/M7F" Content-Disposition: inline --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Mar 04, 2021 at 12:56:24PM +0000, Will Deacon wrote: > Hmm. Doing this means ./scripts/faddr2line no longer works with the vmlinux, > which means if somebody forgets to enable DEBUG_INFO they're in for a > really hard time debugging when something goes wrong. Assuming they're aware of that script in the first place and try to translate addreses with it rather just using the function name in the stack trace, and aren't able to easily rebuild if they decide that it's something that's useful. What people do is going to depend a lot on their use cases. > Why can't the CI systems just disable DEBUG_INFO themselves instead of > changing defconfig for everybody? What's more likely is that they can just increase the amount of space 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. 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. --IrhDeMKUP4DT/M7F Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmBA8H8ACgkQJNaLcl1U h9BhRQf/eFXBGD9GXmjBpT3kvtIq0KAuGMN63uWYNKWJQ9MgsWo8VCYE6KIMllOb kjTZWGfAZJNXWEsoMGgLzgWr7Q6157xaTB7vfmDBnZT9XZ42RjxWZ4WPC/TjQY9f UvaP/vO23aBO/h5E3CWMdCCgECfLuVEuCeQtuE9Zat6zjcXskLvBhC7GP3Osxkia xJehcCopMTuCNJ303XMTC7/OK59v965VzJ45Pl0e13kpJYHq/3XthE3NT04Kzv/X dCU5894tevoDWwiCCTPSvN5mxBQdzjA+kFNDx2m1EOd8QO9peKrbv0VlwTc/g7jP wYLz3zYvPkX6VIwhdT8Y2X4A6KPorw== =XCfA -----END PGP SIGNATURE----- --IrhDeMKUP4DT/M7F-- --===============1014806674098067683== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============1014806674098067683==--