summaryrefslogtreecommitdiffstats
path: root/mm/dmapool.c
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2008-04-14 18:11:40 +0200
committerPekka Enberg <penberg@cs.helsinki.fi>2008-04-27 17:28:17 +0200
commit205ab99dd103e3dd5b0964dad8a16dfe2db69b2e (patch)
tree026a601ea25681cbf34f37360880f78a305a32f5 /mm/dmapool.c
parentslub: Add kmem_cache_order_objects struct (diff)
downloadlinux-205ab99dd103e3dd5b0964dad8a16dfe2db69b2e.tar.xz
linux-205ab99dd103e3dd5b0964dad8a16dfe2db69b2e.zip
slub: Update statistics handling for variable order slabs
Change the statistics to consider that slabs of the same slabcache can have different number of objects in them since they may be of different order. Provide a new sysfs field total_objects which shows the total objects that the allocated slabs of a slabcache could hold. Add a max field that holds the largest slab order that was ever used for a slab cache. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'mm/dmapool.c')
0 files changed, 0 insertions, 0 deletions