[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4B21BEAF.8090402@cn.fujitsu.com>
Date: Fri, 11 Dec 2009 11:38:23 +0800
From: Li Zefan <lizf@...fujitsu.com>
To: Ingo Molnar <mingo@...e.hu>
CC: Pekka Enberg <penberg@...helsinki.fi>,
Christoph Lameter <cl@...ux-foundation.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>,
Eduard - Gabriel Munteanu <eduard.munteanu@...ux360.ro>
Subject: Re: [PATCH] tracing: Define kmem_trace_alloc_notrace unconditionally
Li Zefan wrote:
> Always define kmem_trace_alloc_{,node}_notrace(), otherwise
> perf-kmem will show wrong stats ifndef CONFIG_KMEMTRACE,
> because a kmalloc() memory allocation may be traced by
> both trace_kmalloc and trace_kmem_cache_alloc.
>
> Signed-off-by: Li Zefan <lizf@...fujitsu.com>
> ---
> include/linux/slab_def.h | 24 ++----------------------
> include/linux/slub_def.h | 27 +++------------------------
> mm/slab.c | 4 ----
> mm/slub.c | 4 ----
> 4 files changed, 5 insertions(+), 54 deletions(-)
>
Sorry, please ignore this patch. I'll send a v2 soon..
--
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