[PATCH v2 0/3] move slabinfo processing to common code

From: Glauber Costa
Date: Fri Sep 28 2012 - 11:06:57 EST


Hi,

This patch moves on with the slab caches commonization, by moving
the slabinfo processing to common code in slab_common.c. It only touches
slub and slab, since slob doesn't create that file, which is protected
by a Kconfig switch.

Enjoy,

v2: return objects per slab and cache order in slabinfo structure as well

Glauber Costa (3):
move slabinfo processing to slab_common.c
move print_slabinfo_header to slab_common.c
sl[au]b: process slabinfo_show in common code

mm/slab.c | 118 ++++++++++++-------------------------------------------
mm/slab.h | 20 ++++++++++
mm/slab_common.c | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++
mm/slub.c | 77 ++++++------------------------------
4 files changed, 166 insertions(+), 158 deletions(-)

--
1.7.11.4

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