proc: move /proc/slabinfo boilerplate to mm/slub.c, mm/slab.c

Lose dummy ->write hook in case of SLUB, it's possible now.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
This commit is contained in:
Alexey Dobriyan 2008-10-06 02:42:17 +04:00
commit 7b3c3a50a3
4 changed files with 35 additions and 32 deletions