]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
slub: provide /proc/slabinfo
authorPekka J Enberg <penberg@cs.helsinki.fi>
Tue, 1 Jan 2008 16:23:28 +0000 (17:23 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 1 Jan 2008 19:32:02 +0000 (11:32 -0800)
commit57ed3eda977a215f054102b460ab0eb5d8d112e6
treeaff1529df49c14df1f84d78fbae66a4a0bcfcdb8
parent476c6c11a9ee4610ff0e4941e3851729f7caf062
slub: provide /proc/slabinfo

This adds a read-only /proc/slabinfo file on SLUB, that makes slabtop work.

[ mingo@elte.hu: build fix. ]

Cc: Andi Kleen <andi@firstfloor.org>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/slub_def.h
mm/slub.c