]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Make /proc/slabinfo use seq_list_xxx helpers
authorPavel Emelianov <xemul@sw.ru>
Mon, 16 Jul 2007 06:38:04 +0000 (23:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
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.

[adobriyan@sw.ru: Wrong pointer was used as kmem_cache pointer]
Signed-off-by: Pavel Emelianov <xemul@openvz.org>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slab.c