From: Shaohua Li Date: Fri, 11 Nov 2011 06:54:14 +0000 (+0800) Subject: slub: add missed accounting X-Git-Tag: v3.3-rc1~99^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b13683d1cc14d1dd30b8e20f3ebea3f814ad029f;p=pandora-kernel.git slub: add missed accounting With per-cpu partial list, slab is added to partial list first and then moved to node list. The __slab_free() code path for add/remove_partial is almost deprecated(except for slub debug). But we forget to account add/remove_partial when move per-cpu partial pages to node list, so the statistics for such events are always 0. Add corresponding accounting. This is against the patch "slub: use correct parameter to add a page to partial list tail" Acked-by: Christoph Lameter Signed-off-by: Shaohua Li Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed