]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
slub: Simplify any_slab_object checks
authorChristoph Lameter <clameter@sgi.com>
Mon, 14 Apr 2008 16:11:41 +0000 (19:11 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Sun, 27 Apr 2008 15:28:18 +0000 (18:28 +0300)
commit31d33baf36bda7a2fea800648d87c9fe6155e7ca
treed84cdc6976f1417958a5b613541e216b9b6fbf16
parent06b285dc3d6194abe79ab9dcaaab703d6f75627c
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 <clameter@sgi.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slub.c