[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <00000141799dd4b3-f6df96c0-1003-427d-9bd8-f6455622f4ea-000000@email.amazonses.com>
Date: Wed, 2 Oct 2013 14:41:29 +0000
From: Christoph Lameter <cl@...ux.com>
To: Frank Rowand <frowand.list@...il.com>
cc: Pekka Enberg <penberg@...nel.org>, Matt Mackall <mpm@...enic.com>,
linux-mm@...ck.org,
Linux Kernel list <linux-kernel@...r.kernel.org>,
Catalin Marinas <catalin.marinas@....com>,
"Bobniev, Roman" <Roman.Bobniev@...ymobile.com>,
"Bird, Tim" <Tim.Bird@...ymobile.com>,
"Andersson, Björn"
<Bjorn.Andersson@...ymobile.com>
Subject: Re: [PATCH] slub: Proper kmemleak tracking if CONFIG_SLUB_DEBUG
disabled
On Fri, 27 Sep 2013, Frank Rowand wrote:
> Move the kmemleak code for small block allocation out from
> under CONFIG_SLUB_DEBUG.
Well in that case it may be better to move the hooks as a whole out of
the CONFIG_SLUB_DEBUG section. Do the #ifdeffering for each call from the
hooks instead.
The point of the hook functions is to separate the hooks out of the
functions so taht they do not accumulate in the main code.
The patch moves one hook back into the main code. Please keep the checks
in the hooks.
--
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