Christoph Lameter 599870b175 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>
2008-04-27 18:26:18 +03:00
..
2008-03-19 18:53:35 -07:00
2008-03-19 18:53:35 -07:00
2008-03-19 18:53:35 -07:00
2008-04-17 20:05:36 +02:00
2008-04-08 18:25:53 -07:00
2007-10-20 01:27:18 +02:00
2007-02-15 09:57:03 -08:00
2008-02-08 18:57:39 -08:00
2007-10-18 14:37:31 -07:00
2007-05-21 09:18:19 -07:00
2008-04-15 19:35:40 -07:00
2008-02-05 09:44:19 -08:00
2008-03-19 18:53:35 -07:00
2007-10-20 01:27:18 +02:00
2008-03-19 18:53:35 -07:00
2008-04-27 18:26:18 +03:00
2008-04-15 19:30:19 -07:00
2008-03-19 18:53:35 -07:00
2007-11-14 18:45:41 -08:00
2008-03-19 18:53:35 -07:00