Received: by 10.192.165.148 with SMTP id m20csp1285441imm; Wed, 2 May 2018 18:21:34 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoYe7eJy3Nyg9Uvu366hxIhrCg4sXTvGbJkChp+pzyuJ/q8K+SryckFiXjmnckjeb2GWHWl X-Received: by 10.98.78.200 with SMTP id c191mr20945467pfb.153.1525310494059; Wed, 02 May 2018 18:21:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525310494; cv=none; d=google.com; s=arc-20160816; b=S+umD8QTS8gua+0FS+FwmFrgwiu+TwGq5/yD9PGRqomTTkUk/rmDKvY/wAeuy7LvCG FMq8AyhL9AbfCkDPJykz5Ar9H0dQlulfOg0S2MxSQe/KAF+h5IIQES9hmHN6HFOtA1my x1IiCyxncG4rvkSKss7u7JrXZYPTSfwxc68NuDmEq716/kQ7t84BauXOlIN2OOYJqTVJ nio6meLIEWmTEXFZ1PcfU2/J+cQLjslAt6FZKsEh1ec7TzWFY+ioRdWXRrt3S0nOD39n MKVHUMbRVf8UUiyzyFozZ4JymiM1Cbpt+3K9wb1l1E0rGiYiHeP6z/kwmS4HEsSmva+A wlUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=SPL5yhm29A/H4EjJVXuiWO0oI8znY+B6zs9YrHWQ7vU=; b=x8EyzlLvzpwPTf4NMiUSnoQbNKSKkm1bciypt7lV6R0YDXMoQJO/LAzftpwwH3SWc+ 3Bdu2H6Dcg3EwacaX/YEpeqyPGlwG8XyxdmALrO1JclDZ48IXm/1unkny1PBuIotKvFG g04Hil1Xq6ttQe1bFAqikm2Y3CE8vZg196Fu1TLIxTFYShrcUP4Az0knrm/9ygja66wB pZ+aH3je+eE6MEfGJP5FmYw0Bk2oK5jJpqaqc1QNtrVLQFhsOm5vLJmvzFNwD1WlWSaV y6jgAFlvjJziEXgfwcuEiVuTuDbW/2KI6+aqmVy+EPgSQp8676Kj8UqpicfiSLZzHOsq Glmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4-v6si12092513plr.111.2018.05.02.18.21.20; Wed, 02 May 2018 18:21:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751881AbeECBUB (ORCPT + 99 others); Wed, 2 May 2018 21:20:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:43444 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751745AbeECBT7 (ORCPT ); Wed, 2 May 2018 21:19:59 -0400 Received: from vmware.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C9EC021716; Thu, 3 May 2018 01:19:57 +0000 (UTC) Date: Wed, 2 May 2018 21:19:56 -0400 From: Steven Rostedt To: Andrew Morton Cc: changbin.du@intel.com, yamada.masahiro@socionext.com, michal.lkml@markovi.net, tglx@linutronix.de, mingo@redhat.com, rdunlap@infradead.org, x86@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, arnd@arndb.de, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH v2 4/5] kernel hacking: new config DEBUG_EXPERIENCE to apply GCC -Og optimization Message-ID: <20180502211956.6c9e8d7b@vmware.local.home> In-Reply-To: <20180502134558.1f388e097dcde6f589635404@linux-foundation.org> References: <1525268700-10631-1-git-send-email-changbin.du@intel.com> <1525268700-10631-5-git-send-email-changbin.du@intel.com> <20180502101707.206984e9@gandalf.local.home> <20180502134558.1f388e097dcde6f589635404@linux-foundation.org> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2 May 2018 13:45:58 -0700 Andrew Morton wrote: > On Wed, 2 May 2018 10:17:07 -0400 Steven Rostedt wrote: > > > > Comparison of vmlinux size: a bit smaller. > > > > > > w/o CONFIG_DEBUG_EXPERIENCE > > > > I hate the config name. > > > > I probably can't come up with better ones but let's try: > > > > CONFIG_DEBUG_OPTIMIZE ? > > CONFIG_OPTIMIZE_DEBUG ? > > > > But "EXPERIENCE" sounds like I'm on some DEBUG LSD. > > Metoo, but the gcc people decided on "-Og: Optimize debugging > experience ..." and I think there are benefits if the kernel is to > align the naming with that. I still see that as "Optimize debugging" and "experience" is just the platform of what was done. With that gcc comment, I still think CONFIG_OPTIMIZE_DEBUG is more inline with what it is and understandable than CONFIG_DEBUG_EXPERIENCE. The "OPTIMIZE" is the key word there. -- Steve