From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 02920C433DB for ; Thu, 4 Mar 2021 17:26:43 +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 8854664F10 for ; Thu, 4 Mar 2021 17:26:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8854664F10 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com 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:References:In-Reply-To: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NoUTXvKZC3gzDDmtrjzd5IgJK9aVtXL5od0Jwy56L7E=; b=dMVDOPka48llodCZ9yrVQqUlR AoPoOHQ77M5IQS2Xavmsnl9EAa1Hd5Gbw+l2fKKPJHBE8MOAxE/d7ltQgvEn7BF5P0sktlFNu7Zdv IyztObZCtm3hB7bhQG1FCC9UTgokzvVWYXQ1N0hh0e/zixATj/RiBcZngnaYVCbOMehlsn3ruqGch izMcM3Ej97/C9rdQpinGgqwdOrlSXXIGm+y97KS35b1XdOM/RV5fpmPmirvvQsSgs2PUin4pYbWZG 0HNj1AQb+QrX4MkZRPMoVeI7SxuSSoTzhh2kg1T+R4wTuEul9q6iJqR8UWAgvIal9sQlb5upiquwi luDepoVYg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lHri6-009Q4T-1G; Thu, 04 Mar 2021 17:24:26 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lHrhy-009Q3E-MK for linux-arm-kernel@lists.infradead.org; Thu, 04 Mar 2021 17:24:22 +0000 Received: by mail-pl1-x631.google.com with SMTP id d11so16517292plo.8 for ; Thu, 04 Mar 2021 09:24:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=wNPZ0ed9hDKxD/kq5D9lqIyABr//eypPOcHmjn5yPAg=; b=MiBOJ1ZNtFrEgRLORDsju1q8j4QsC++zBIIOEJo88reyxaviWN3Nc7JfTd3rZTPRVy MjWEqLP7RMmNPF0+2h7ud+xT+/fOSupj7fjm1/7MGue5xMCxzsMlU5mrKdMbSwooAyGe d6FypIaSUclpAaIdMpp3iVbo1uNuNfMASa037eAwG4GUfu4t3Zr9AyHtuXsNi3euVIuM rwL98w5jCR6h7wxA3fSVxi6jxzHrzEvE1aIXX4k3Rart532fjiYLGd0/NkYyUjIlTWRK V5l9ZfOXxloINobuAX+cODFsl0TodrfMWmEWnYne6rFn6xtVJWM7ATJeXA+gj91i/ja2 rvsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=wNPZ0ed9hDKxD/kq5D9lqIyABr//eypPOcHmjn5yPAg=; b=SceVB0tFD9tFr7NlvLXrwPDzkHm1IetZim6hujkt6x3XaesSMkweb8HRSa6YVhS/ZT +APZEr4pnYUQY1iJyuIDnJfjeMTWNCXEhwxzfUZkCzFvNM2JnAgh626LIM6VyGAnN08h WlUnIh4VVl+ODBBTRZCeKJowUjbi3/bFEa/VDxlXFTEfrNqkj54tjKAGlZ3MNllyXxBg 16D4vfvlUvTJvjPvIH4mtDUB00iPKlCYI4fcxtShQJpdRVTG5oMfhmugFRHrN0hVcl/m wzSbynS90uNbeae0FudrV/JwtN2pwBLHShHvGqKsiEZTyUOd0KuUWVY54mGRBe8PO5pV sIng== X-Gm-Message-State: AOAM533fFxvxpzKgNXFigXpvDSp8GK+ZVG5GkMItJdgVJM38HmWMxDHX LyKrbYKiVzzr8y1eKJb5n807yA== X-Google-Smtp-Source: ABdhPJz2o5MxksGiyUOW7xYI3AqtKKvmzlmW5flxy4+zAAkQSVsh5ojyCptCfoFxyzXIonsTmik1Mg== X-Received: by 2002:a17:902:6b45:b029:e0:7a3:a8c with SMTP id g5-20020a1709026b45b02900e007a30a8cmr4856253plt.1.1614878656255; Thu, 04 Mar 2021 09:24:16 -0800 (PST) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.gmail.com with ESMTPSA id x23sm14701pff.133.2021.03.04.09.24.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 09:24:15 -0800 (PST) From: Kevin Hilman To: Catalin Marinas , Mark Brown Cc: Will Deacon , linux-arm-kernel@lists.infradead.org, Guillaume Tucker Subject: Re: [PATCH] arm64: defconfig: Disable DEBUG_INFO In-Reply-To: <20210304162231.GA29547@arm.com> References: <20210302185852.5790-1-broonie@kernel.org> <20210304125623.GB20956@willie-the-truck> <20210304143647.GB4731@sirena.org.uk> <20210304144833.GB21410@willie-the-truck> <20210304151853.GC4731@sirena.org.uk> <20210304162231.GA29547@arm.com> Date: Thu, 04 Mar 2021 09:24:15 -0800 Message-ID: <7hzgzi3k8w.fsf@baylibre.com> MIME-Version: 1.0 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Catalin Marinas writes: > On Thu, Mar 04, 2021 at 03:18:53PM +0000, Mark Brown wrote: >> 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. > > I found DEBUG_INFO pretty useful as well and always hated it in the past > when I had to recompile a kernel just to rerun the tests and identify > the source/line of an address (I guess that's why we ended up with this > in defconfig). > >> > > 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. > > How about enabling DEBUG_INFO_REDUCED as a middle ground? For me the > build tree goes from 5.9GB to 2.0GB. I tried faddr2line and still works > as expected (only tried gcc, not sure whether clang honours this > option). Sounds great to me. Kevin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel