]> git.baikalelectronics.ru Git - kernel.git/commit
mm/sl[au]b: Move slabinfo processing to slab_common.c
authorGlauber Costa <glommer@parallels.com>
Fri, 19 Oct 2012 14:20:25 +0000 (18:20 +0400)
committerPekka Enberg <penberg@kernel.org>
Wed, 24 Oct 2012 06:37:41 +0000 (09:37 +0300)
commitb539351c452428a0dd4907ff934c89572b3886c1
treedbfe665034b9c3f3e79fa9410038ecc6f44e61bb
parent0d577442d51c1c4ffe9f108f9f6058d85b2c42c9
mm/sl[au]b: Move slabinfo processing to slab_common.c

This patch moves all the common machinery to slabinfo processing
to slab_common.c. We can do better by noticing that the output is
heavily common, and having the allocators to just provide finished
information about this. But after this first step, this can be done
easier.

Signed-off-by: Glauber Costa <glommer@parallels.com>
Acked-by: Christoph Lameter <cl@linux.com>
CC: David Rientjes <rientjes@google.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slab.c
mm/slab.h
mm/slab_common.c
mm/slub.c