[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0904241600400.8194@chino.kir.corp.google.com>
Date:	Fri, 24 Apr 2009 16:02:25 -0700 (PDT)
From:	David Rientjes <rientjes@...gle.com>
To:	Catalin Marinas <catalin.marinas@....com>
cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 12/14] kmemleak: Enable the building of the memory leak
 detector
On Fri, 24 Apr 2009, Catalin Marinas wrote:
> This patch adds the Kconfig.debug and Makefile entries needed for
> building kmemleak into the kernel.
> 
> Signed-off-by: Catalin Marinas <catalin.marinas@....com>
> ---
>  lib/Kconfig.debug |   22 ++++++++++++++++++++++
>  mm/Makefile       |    1 +
>  2 files changed, 23 insertions(+), 0 deletions(-)
> 
> diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> index c6e854f..6c9d21f 100644
> --- a/lib/Kconfig.debug
> +++ b/lib/Kconfig.debug
> @@ -336,6 +336,28 @@ config SLUB_STATS
>  	  out which slabs are relevant to a particular load.
>  	  Try running: slabinfo -DA
>  
> +config DEBUG_KMEMLEAK
> +	bool "Kernel memory leak detector"
> +	default n
> +	depends on EXPERIMENTAL && (X86 || ARM) && !MEMORY_HOTPLUG
This should include DEBUG_KERNEL.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
