Re: [RFC PATCH 2/5] Add new GFP flag __GFP_NOTRACE.
From: Eduard - Gabriel Munteanu
Date: Fri Jul 11 2008 - 15:57:25 EST
On Fri, 11 Jul 2008 09:41:20 -0500
Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx> wrote:
> Eduard - Gabriel Munteanu wrote:
>
> > This is used by kmemtrace to correctly classify different kinds of
> > allocations, without recording one event multiple times. Example:
> > SLAB's kmalloc() calls kmem_cache_alloc(), but we want to record
> > this only as a kmalloc.
>
> Well then I guess we need to put the recording logic into
> kmem_cache_alloc?
Okay, will do it another way. I thought there may be other legitimate
uses of something like __GFP_NOTRACE.
Eduard
--
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/