[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1300879469.23962.40.camel@e102109-lin.cambridge.arm.com>
Date: Wed, 23 Mar 2011 11:24:29 +0000
From: Catalin Marinas <catalin.marinas@....com>
To: Daniel Baluta <dbaluta@...acom.com>
Cc: paulmck@...ux.vnet.ibm.com, akpm@...ux-foundation.org,
mingo@...e.hu, fweisbec@...il.com, rdunlap@...otime.net,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kmemleak: build kmemleak-test.c as a module-only
On Wed, 2011-03-16 at 18:16 +0000, Daniel Baluta wrote:
> mm/kmemleak-test.c is used to provide an example of how kmemleak
> tool works.
>
> Memory is leaked at module unload-time, so building the test
> in kernel (Y) makes the leaks impossible and the test useless.
>
> Qualify DEBUG_KMEMLEAK_TEST config symbol with "depends on m",
> to restrict module-only building.
>
> Signed-off-by: Daniel Baluta <dbaluta@...acom.com>
Sorry for the delay.
Acked-by: Catalin Marinas <catalin.marinas@....com>
--
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