Move count_partial before kmem_cache_shrink
authorChristoph Lameter <clameter@sgi.com>
Tue, 8 Jan 2008 07:20:26 +0000 (23:20 -0800)
committerChristoph Lameter <clameter@sgi.com>
Mon, 4 Feb 2008 18:56:01 +0000 (10:56 -0800)
commitf61396aed90acb033952531c522d1010f87e24f4
tree53d42c90f0aab1d1b53e8648a279e10a83df0107
parent151c602f79cb9154c3f3d83223cae355af463d6f
Move count_partial before kmem_cache_shrink

Move the counting function for objects in partial slabs so that it is placed
before kmem_cache_shrink.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/slub.c