Re: [PATCH] slub: Proper kmemleak tracking if CONFIG_SLUB_DEBUGdisabled

From: Christoph Lameter
Date: Wed Oct 02 2013 - 12:24:59 EST


On Wed, 2 Oct 2013, Catalin Marinas wrote:

> Kmemleak doesn't depend on SLUB_DEBUG (at least it didn't originally ;),
> so I don't think we should add an artificial dependency (or select). Can
> we have kmemleak_*() calls in both debug and !debug hooks?

Yes if you move the hook calls out from under CONFIG_SLUB_DEBUG.

--
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/