From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with ESMTP id 62B146B01B9 for ; Tue, 22 Jun 2010 04:11:30 -0400 (EDT) Message-ID: <4C20702C.1080405@cs.helsinki.fi> Date: Tue, 22 Jun 2010 11:11:24 +0300 From: Pekka Enberg MIME-Version: 1.0 Subject: Re: [PATCH] mm: kmemleak: Change kmemleak default buffer size References: <1277189909-16376-1-git-send-email-sankar.curiosity@gmail.com> In-Reply-To: <1277189909-16376-1-git-send-email-sankar.curiosity@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Sankar P Cc: linux-kernel@vger.kernel.org, lethal@linux-sh.org, linux-sh@vger.kernel.org, lrodriguez@atheros.com, catalin.marinas@arm.com, rnagarajan@novell.com, teheo@novell.com, linux-mm@kvack.org List-ID: Sankar P wrote: > If we try to find the memory leaks in kernel that is > compiled with 'make defconfig', the default buffer size > seem to be inadequate. Change the buffer size from > 400 to 1000, which is sufficient in most cases. > > Signed-off-by: Sankar P > --- > arch/sh/configs/sh7785lcr_32bit_defconfig | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/sh/configs/sh7785lcr_32bit_defconfig b/arch/sh/configs/sh7785lcr_32bit_defconfig > index 71f39c7..b02e5ae 100644 > --- a/arch/sh/configs/sh7785lcr_32bit_defconfig > +++ b/arch/sh/configs/sh7785lcr_32bit_defconfig > @@ -1710,7 +1710,7 @@ CONFIG_SCHEDSTATS=y > # CONFIG_DEBUG_OBJECTS is not set > # CONFIG_DEBUG_SLAB is not set > CONFIG_DEBUG_KMEMLEAK=y > -CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400 > +CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=1000 > # CONFIG_DEBUG_KMEMLEAK_TEST is not set > CONFIG_DEBUG_PREEMPT=y > # CONFIG_DEBUG_RT_MUTEXES is not set I'm pretty sure you want to do this change in lib/Kconfig.debug. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org