From: akpm@linux-foundation.org Subject: [to-be-updated] lib-kconfigdebug-clarify-config_debug_infos-bloaty-nature.patch removed from -mm tree Date: Mon, 03 Feb 2014 15:53:27 -0800 Message-ID: <52f02bf7.fiBqlPPDaNaXvnN9%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:47425 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753338AbaBCXx2 (ORCPT ); Mon, 3 Feb 2014 18:53:28 -0500 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, rientjes@google.com, bp@suse.de Subject: [to-be-updated] lib-kconfigdebug-clarify-config_debug_infos-bloaty-nature.patch removed from -mm tree To: bp@suse.de,rientjes@google.com,mm-commits@vger.kernel.org From: akpm@linux-foundation.org Date: Mon, 03 Feb 2014 15:53:27 -0800 The patch titled Subject: lib/Kconfig.debug: clarify CONFIG_DEBUG_INFO's bloaty nature has been removed from the -mm tree. Its filename was lib-kconfigdebug-clarify-config_debug_infos-bloaty-nature.patch This patch was dropped because an updated version will be merged ------------------------------------------------------ From: Borislav Petkov Subject: lib/Kconfig.debug: clarify CONFIG_DEBUG_INFO's bloaty nature Hold down when it makes sense to enable CONFIG_DEBUG_INFO and when CONFIG_KALLSYMS suffices. Signed-off-by: Borislav Petkov Signed-off-by: Andrew Morton --- lib/Kconfig.debug | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff -puN lib/Kconfig.debug~lib-kconfigdebug-clarify-config_debug_infos-bloaty-nature lib/Kconfig.debug --- a/lib/Kconfig.debug~lib-kconfigdebug-clarify-config_debug_infos-bloaty-nature +++ a/lib/Kconfig.debug @@ -126,7 +126,11 @@ config DEBUG_INFO This adds debug symbols to the kernel and modules (gcc -g), and is needed if you intend to use kernel crashdump or binary object tools like crash, kgdb, LKCD, gdb, etc on the kernel. - Say Y here only if you plan to debug the kernel. + + If you only want to have resolved symbols in kernel traces and + are not going to need support for those tools above, you don't need + to enable this as it is a huge bloat and build slowdown; + enable CONFIG_KALLSYMS instead. If unsure, say N. _ Patches currently in -mm which might be from bp@suse.de are lib-kconfigdebug-clarify-config_debug_infos-bloaty-nature-fix.patch linux-next.patch