slub: extract common code to remove objects from partial list without locking
authorChristoph Lameter <cl@linux.com>
Tue, 28 Sep 2010 13:10:28 +0000 (08:10 -0500)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Oct 2010 07:44:10 +0000 (10:44 +0300)
commit62e346a83026a28526fc9799337bcc6154819f25
tree04514b189c3005bca093149769a117117ec0dff0
parentf7cb1933621bce66a77f690776a16fe3ebbc4d58
slub: extract common code to remove objects from partial list without locking

There are a couple of places where repeat the same statements when removing
a page from the partial list. Consolidate that into __remove_partial().

Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c