Re: [RFC PATCH 2/5] Add new GFP flag __GFP_NOTRACE.

From: Christoph Lameter
Date: Fri Jul 11 2008 - 10:42:33 EST


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?
--
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/