Skip to content

RFC Move kmalloc tracepoints out of inlined code

Steven Rostedt linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tracing/slab: Move kmalloc tracepoint out of inline codeinclude/linux/slab_def.h mm/slab.c+36 -350 replies
2/2tracing/slub: Move kmalloc tracepoint out of inline codeinclude/linux/slub_def.h mm/page_alloc.c mm/slub.c+54 -333 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchSteven Rostedt
1/2
2/2Siged-off-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC][PATCH 0/2] Move kmalloc tracepoints out of inlined code

Anyone have any objections to this code?

Tracepoints do carry a bit of weight and having them in a common inlined function such as kmalloc() adds a bit of bloat to the kernel.

This is an RFC patch (to get comments) and hopefully will be something to pull in for 2.6.38. It should not change the functionality of the tracepoints, that is, you should still get the same result from them as we have before. Just they are now inside the sl*b C code instead of being scattered about the kernel.

If you are fine with these patches, please add your Acked-by.

Thanks,

-- Steve

The following patches are in:

git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git

branch: rfc/trace

Steven Rostedt (2):
tracing/slab: Move kmalloc tracepoint out of inline code tracing/slub: Move kmalloc tracepoint out of inline code

----

 include/linux/slab_def.h |   33 +++++++++++++--------------------
 include/linux/slub_def.h |   46 +++++++++++++++++++++-------------------------
 mm/page_alloc.c          |   14 ++++++++++++++
 mm/slab.c                |   38 +++++++++++++++++++++++---------------
 mm/slub.c                |   27 +++++++++++++++++++--------
 5 files changed, 90 insertions(+), 68 deletions(-)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>