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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51DF9C4332F for ; Tue, 15 Nov 2022 08:48:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236533AbiKOIsS (ORCPT ); Tue, 15 Nov 2022 03:48:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230254AbiKOIsQ (ORCPT ); Tue, 15 Nov 2022 03:48:16 -0500 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D362F583 for ; Tue, 15 Nov 2022 00:48:15 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 7588532009D1; Tue, 15 Nov 2022 03:48:14 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Tue, 15 Nov 2022 03:48:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1668502094; x=1668588494; bh=1gBRlp/B3m Fmd4P+UsRzxqbQEl/5QP24VsS20bpTqZE=; b=almPYDJ2/HAlrOX+uE3Pzj1rx1 eZKM0dDZEPbjNI1w+gx3/ilXunpBLH+3whHgGkho1lC7eePjJ1lNu6Mqz/zVDU4C LwbIjEPCzZQf86Q0tEF9QoGsfQJRhODlkHLz4SiorxXkUxXFaX8vp77xApXJgL42 IY16CdG2kDY2EFyp6vgS8FwKHRSUuw6N7D2MFtLHfjK506JHj7mTuA5hAY9jlXTT 2CE05E6+OL7WDPxtW2YzRjpf/hozueHHYy0YjMKsNYaye2jxWvH6xy33BIIJVAXQ /wvcO8fR4PrbqDH4RLAyoQS5e5KIH9J/6P3EwStwhVS/F3mR/tqFurUX+s3A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1668502094; x=1668588494; bh=1gBRlp/B3mFmd4P+UsRzxqbQEl/5 QP24VsS20bpTqZE=; b=o1kip9K02beQnshjGok4LzZtaRKZ7I/ZYkDImq88HSBU 4qz7HXnOnGRVDVCcBWS5ooGIdQhdjLFHK3oQ/iN34a/ZW1g7ZYURGSZbokA8MUN0 E5gEK/PxbzeXgIUHGOavwQytHfm8hSBTzj8Q7atnJa0ZmiJJuOcxpuj6m/5V0VH4 Kl5+3fIkMvSetGQJl4iXMrlveAuIh08ySrMFS/E4MfPOLdvpdQNdpKZNmHbaRuFZ uWETodRw3B5vwikv511rA9nj845As9jL7CO76iEeHgD/0ZYWPgY3FziH147EsZ13 ttrT8vbv1GJLQLyjy4qGCJzDtP9wQLQ71IqkGZ7lsA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgeefgdduvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id CA526B60086; Tue, 15 Nov 2022 03:48:13 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1115-g8b801eadce-fm-20221102.001-g8b801ead Mime-Version: 1.0 Message-Id: <2d238a7f-8e1a-4959-a6c5-e58567ace6e3@app.fastmail.com> In-Reply-To: References: <20221115025527.13382-1-zhangqing@loongson.cn> <20221115025527.13382-10-zhangqing@loongson.cn> Date: Tue, 15 Nov 2022 09:47:52 +0100 From: "Arnd Bergmann" To: "Huacai Chen" , "Qing Zhang" Cc: "Steven Rostedt" , "Ingo Molnar" , loongarch@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 9/9] LoongArch: Enable CONFIG_KALLSYMS_ALL and CONFIG_DEBUG_FS Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 15, 2022, at 09:31, Huacai Chen wrote: > > I suggest not enabling debug mechanisms in the default config file, > distribution configs can make their own decisions. CONFIG_KALLSYMS_ALL and CONFIG_DEBUG_FS are rather fundamental, and are enabled in most other architectures as well. I would recommend everything that is needed to run on the most common hardware configurations and that is needed for booting into a general-purpose distribution, but not much beyond that. Other options like CONFIG_DEBUG_INFO and CONFIG_DEBUG_KERNEL (including options based on it) are probably better left disabled though, those are the ones with a significant runtime or buld-time overhead. Arnd