lkml.org 
[lkml]   [2008]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 2/5] Add new GFP flag __GFP_NOTRACE.
On Fri, 11 Jul 2008 09:41:20 -0500
Christoph Lameter <cl@linux-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


\
 
 \ /
  Last update: 2008-07-11 21:59    [W:0.039 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site