Re: [PATCH] kmemleak: build kmemleak-test.c as a module-only

From: Pekka Enberg
Date: Wed Mar 23 2011 - 07:23:22 EST


On Wed, Mar 23, 2011 at 1:18 PM, Daniel Baluta <daniel.baluta@xxxxxxxxx> wrote:
> On Wed, Mar 16, 2011 at 8:16 PM, Daniel Baluta <dbaluta@xxxxxxxxxxx> 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.
>
> Any comments on this?

Looks good to me.

Acked-by: Pekka Enberg <penberg@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/