mm/slub: Use node_nr_slabs and node_nr_objs in get_slabinfo
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Thu, 4 Jul 2013 00:33:26 +0000 (08:33 +0800)
committerPekka Enberg <penberg@kernel.org>
Sun, 7 Jul 2013 15:37:48 +0000 (18:37 +0300)
commitc17fd13ec0677e61f3692ecb9d4b21f79848fa04
treea92f80d3ac409bfb812058a5d806a20a4a88ff60
parenta446336454cf9ce3234a6013d1c3b482358d9459
mm/slub: Use node_nr_slabs and node_nr_objs in get_slabinfo

Use existing interface node_nr_slabs and node_nr_objs to get
nr_slabs and nr_objs.

Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c