From: Christoph Lameter Date: Wed, 23 Apr 2008 19:36:52 +0000 (-0700) Subject: slub: free_list() cleanup X-Git-Tag: v2.6.26-rc1~695^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=599870b175987008b5f5c82a70b89f751e12822e;p=pandora-kernel.git 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 Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed