From: Ingo Molnar on

* Li Zefan <lizf(a)cn.fujitsu.com> wrote:

> Define kmem_trace_alloc_{,node}_notrace() if CONFIG_TRACING is
> enabled, otherwise perf-kmem will show wrong stats ifndef
> CONFIG_KMEM_TRACE, because a kmalloc() memory allocation may
> be traced by both trace_kmalloc() and trace_kmem_cache_alloc().
>
> Signed-off-by: Li Zefan <lizf(a)cn.fujitsu.com>
> ---
> include/linux/slab_def.h | 4 ++--
> include/linux/slub_def.h | 4 ++--
> mm/slab.c | 6 +++---
> mm/slub.c | 4 ++--
> 4 files changed, 9 insertions(+), 9 deletions(-)

Pekka, can i add your Reviewed-by or Acked-by to this v2 version of the
patch?

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/