From: Christoph Lameter Date: Mon, 14 Apr 2008 16:11:40 +0000 (+0300) Subject: slub: Update statistics handling for variable order slabs X-Git-Tag: v2.6.26-rc1~695^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=205ab99dd103e3dd5b0964dad8a16dfe2db69b2e;p=pandora-kernel.git 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 Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed