Pekka Enberg wrote:Li Zefan wrote:Always define kmem_trace_alloc_{,node}_notrace(), otherwiseDid you check how much this will make kernel text bigger because of the
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@xxxxxxxxxxxxxx>
inlining happening in kmem_cache_alloc_notrace()?
I'm not sure I understood what you meant, but I'm not inlining
kmem_cache_alloc_notrace(), and instead I'm removing the inline
version in !CONFIG_KMEMTRACE case.