aboutsummaryrefslogtreecommitdiff
path: root/mm/sparse-vmemmap.c
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2008-04-23 12:36:52 -0700
committerPekka Enberg <penberg@cs.helsinki.fi>2008-04-27 18:26:18 +0300
commit599870b175987008b5f5c82a70b89f751e12822e (patch)
treeba01b18de3d30978bc0e7fb05af278710eec9d39 /mm/sparse-vmemmap.c
parentd629d819579327267884a12de21ef6d4b539db88 (diff)
slub: free_list() cleanup
free_list looked a bit screwy so here is an attempt to clean it up. free_list is is only used for freeing partial lists. We do not need to return a parameter if we decrement nr_partial within the function which allows a simplification of the whole thing. The current version modifies nr_partial outside of the list_lock which is technically not correct. It was only ok because we should be the only user of this slab cache at this point. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'mm/sparse-vmemmap.c')
0 files changed, 0 insertions, 0 deletions