kmemtrace: SLOB hooks.
authorEduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Sun, 10 Aug 2008 17:14:07 +0000 (20:14 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Mon, 29 Dec 2008 13:34:05 +0000 (15:34 +0200)
commit3eae2cb24a96509e0a38cc48dc1538a2826f4e33
treed59f2c69d8b377c12222deba8b07d065ade73818
parent36555751c6751a5bdfd6d7bdf0648343bb1ef0de
kmemtrace: SLOB hooks.

This adds hooks for the SLOB allocator, to allow tracing with kmemtrace.

We also convert some inline functions to __always_inline to make sure
_RET_IP_, which expands to __builtin_return_address(0), always works
as expected.

Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
include/linux/slob_def.h
mm/slob.c