summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorAlex Shi2012-02-03 16:34:56 +0100
committerPekka Enberg2012-02-18 10:00:09 +0100
commit8028dcea8abbbd51b5156e40ea214c20b559cd01 (patch)
treeb4f60cce7da33fa2942262043a3834724c07405b /mm/slab.c
parentslub: include include for prefetch (diff)
downloadkernel-qcow2-linux-8028dcea8abbbd51b5156e40ea214c20b559cd01.tar.gz
kernel-qcow2-linux-8028dcea8abbbd51b5156e40ea214c20b559cd01.tar.xz
kernel-qcow2-linux-8028dcea8abbbd51b5156e40ea214c20b559cd01.zip
slub: per cpu partial statistics change
This patch split the cpu_partial_free into 2 parts: cpu_partial_node, PCP refilling times from node partial; and same name cpu_partial_free, PCP refilling times in slab_free slow path. A new statistic 'cpu_partial_drain' is added to get PCP drain to node partial times. These info are useful when do PCP tunning. The slabinfo.c code is unchanged, since cpu_partial_node is not on slow path. Signed-off-by: Alex Shi <alex.shi@intel.com> Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions