[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84144f020807110133y693987e0mdeb8e90d87e46ea2@mail.gmail.com>
Date: Fri, 11 Jul 2008 11:33:53 +0300
From: "Pekka Enberg" <penberg@...helsinki.fi>
To: "Eduard - Gabriel Munteanu" <eduard.munteanu@...ux360.ro>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
"Christoph Lameter" <cl@...ux-foundation.org>
Subject: Re: [RFC PATCH 2/5] Add new GFP flag __GFP_NOTRACE.
Hi Eduard-Gabriel,
On Thu, Jul 10, 2008 at 9:06 PM, Eduard - Gabriel Munteanu
<eduard.munteanu@...ux360.ro> wrote:
> __GFP_NOTRACE turns off allocator tracing for that particular allocation.
>
> 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.
>
> Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@...ux360.ro>
I don't like this approach. I think you can just place the hooks in
the proper place in SLAB to avoid this?
--
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