From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932520AbbCYOZL (ORCPT ); Wed, 25 Mar 2015 10:25:11 -0400 Received: from e24smtp03.br.ibm.com ([32.104.18.24]:39064 "EHLO e24smtp03.br.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932504AbbCYOZH (ORCPT ); Wed, 25 Mar 2015 10:25:07 -0400 From: Thadeu Lima de Souza Cascardo To: linux-kernel@vger.kernel.org Cc: Thadeu Lima de Souza Cascardo Subject: [PATCH 2/2] kconfig: move PAGE_OWNER into "Memory Debugging" menu Date: Wed, 25 Mar 2015 11:22:13 -0300 Message-Id: <1427293333-17471-2-git-send-email-cascardo@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1427293333-17471-1-git-send-email-cascardo@linux.vnet.ibm.com> References: <1427293333-17471-1-git-send-email-cascardo@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15032514-0025-0000-0000-0000036411F3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PAGE_OWNER has been put into the "Compiler-time checks and compiler options" menu. It belongs to "Memory Debugging", next to "Kernel memory leak detector". Signed-off-by: Thadeu Lima de Souza Cascardo --- lib/Kconfig.debug | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 48edcbc..e9b2cb0 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -238,22 +238,6 @@ config UNUSED_SYMBOLS you really need it, and what the merge plan to the mainline kernel for your module is. -config PAGE_OWNER - bool "Track page owner" - depends on DEBUG_KERNEL && STACKTRACE_SUPPORT - select DEBUG_FS - select STACKTRACE - select PAGE_EXTENSION - help - This keeps track of what call chain is the owner of a page, may - help to find bare alloc_page(s) leaks. Even if you include this - feature on your build, it is disabled in default. You should pass - "page_owner=on" to boot parameter in order to enable it. Eats - a fair amount of memory if enabled. See tools/vm/page_owner_sort.c - for user-space helper. - - If unsure, say N. - config HEADERS_CHECK bool "Run 'make headers_check' when building vmlinux" depends on !UML @@ -534,6 +518,22 @@ config DEBUG_KMEMLEAK_DEFAULT_OFF Say Y here to disable kmemleak by default. It can then be enabled on the command line via kmemleak=on. +config PAGE_OWNER + bool "Track page owner" + depends on DEBUG_KERNEL && STACKTRACE_SUPPORT + select DEBUG_FS + select STACKTRACE + select PAGE_EXTENSION + help + This keeps track of what call chain is the owner of a page, may + help to find bare alloc_page(s) leaks. Even if you include this + feature on your build, it is disabled in default. You should pass + "page_owner=on" to boot parameter in order to enable it. Eats + a fair amount of memory if enabled. See tools/vm/page_owner_sort.c + for user-space helper. + + If unsure, say N. + config DEBUG_STACK_USAGE bool "Stack utilization instrumentation" depends on DEBUG_KERNEL && !IA64 && !PARISC && !METAG -- 1.7.10.4