Re: [PATCH] slab: fix caller tracking on !CONFIG_DEBUG_SLAB &&CONFIG_TRACING
From: David Rientjes
Date: Fri Apr 09 2010 - 12:49:19 EST
On Fri, 9 Apr 2010, Xiaotian Feng wrote:
> > This doesn't work if the underlying slab allocator doesn't define
> > __kmalloc_node_track_caller() regardless of whether CONFIG_TRACING is
> > enabled or not. SLOB, for example, never defines it, and that's why the
> > conditional exists in the way it currently does.
> >
>
> Sorry, I didn't realized this, can we use (defined(CONFIG_TRACING) &&
> defined(CONFIG_SLAB)) ?
>
The valid configurations are
(CONFIG_SLAB && (CONFIG_DEBUG_SLAB || CONFIG_TRACING)) || CONFIG_SLUB
--
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/