diff options
author | Christoph Lameter <clameter@sgi.com> | 2008-04-14 19:11:41 +0300 |
---|---|---|
committer | Pekka Enberg <penberg@cs.helsinki.fi> | 2008-04-27 18:28:18 +0300 |
commit | 31d33baf36bda7a2fea800648d87c9fe6155e7ca (patch) | |
tree | d84cdc6976f1417958a5b613541e216b9b6fbf16 /mm/slab.c | |
parent | 06b285dc3d6194abe79ab9dcaaab703d6f75627c (diff) | |
download | op-kernel-dev-31d33baf36bda7a2fea800648d87c9fe6155e7ca.zip op-kernel-dev-31d33baf36bda7a2fea800648d87c9fe6155e7ca.tar.gz |
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>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions