From: Christoph Lameter Date: Mon, 14 Apr 2008 16:11:41 +0000 (+0300) Subject: slub: Simplify any_slab_object checks X-Git-Tag: v2.6.26-rc1~695^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31d33baf36bda7a2fea800648d87c9fe6155e7ca;p=pandora-kernel.git slub: Simplify any_slab_object checks Since we now have total_objects counter per node use that to check for the presence of any objects. The loop over all cpu slabs is not that useful since any cpu slab would require an object allocation first. So drop that. Signed-off-by: Christoph Lameter Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed