Messages in this thread | | | Date | Fri, 11 Jul 2008 22:56:00 +0300 | From | Eduard - Gabriel Munteanu <> | Subject | Re: [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
| |