slub: register slabinfo to procfs
authorPekka Enberg <penberg@cs.helsinki.fi>
Wed, 2 Jan 2008 11:07:25 +0000 (13:07 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 2 Jan 2008 18:42:39 +0000 (10:42 -0800)
commit6b6adc22a01941165d5af9a3e69e28e948b28f47
treed37ec1318df41660573e09b19282e96288d9acaf
parentdc512814b5f8b7b80c74d6170b93a606ae4f36c5
slub: register slabinfo to procfs

We need to register slabinfo to procfs when CONFIG_SLUB is enabled to
make the file actually visible to user-space.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/proc_misc.c