[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080711225600.6532b9cf@linux360.ro>
Date: Fri, 11 Jul 2008 22:56:00 +0300
From: Eduard - Gabriel Munteanu <eduard.munteanu@...ux360.ro>
To: Christoph Lameter <cl@...ux-foundation.org>
Cc: penberg@...helsinki.fi, linux-kernel@...r.kernel.org,
linux-mm@...ck.org
Subject: Re: [RFC PATCH 2/5] Add new GFP flag __GFP_NOTRACE.
On Fri, 11 Jul 2008 09:41:20 -0500
Christoph Lameter <cl@...ux-foundation.org> 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@...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