Make /proc/slabinfo use seq_list_xxx helpers
authorPavel Emelianov <[email protected]>
Mon, 16 Jul 2007 06:38:04 +0000 (23:38 -0700)
committerLinus Torvalds <[email protected]>
Mon, 16 Jul 2007 16:05:35 +0000 (09:05 -0700)
commitb92151bab91ef906378d3e0e7128d55dd641e966
tree81f96a5976bcc749c42a9ae293e16667ea2d9afe
parent68e116a3b57d09b220fe38712bebd956b6dbbbc6
Make /proc/slabinfo use seq_list_xxx helpers

This entry prints a header in .start callback.  This is OK, but the more
elegant solution would be to move this into the .show callback and use
seq_list_start_head() in .start one.

I have left it as is in order to make the patch just switch to new API and
noting more.

[[email protected]: Wrong pointer was used as kmem_cache pointer]
Signed-off-by: Pavel Emelianov <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/slab.c