slub: new_slab_objects() can also get objects from partial list
authorChristoph Lameter <cl@linux.com>
Wed, 9 May 2012 15:09:55 +0000 (10:09 -0500)
committerPekka Enberg <penberg@kernel.org>
Fri, 1 Jun 2012 06:25:40 +0000 (09:25 +0300)
commit188fd063208942a4681d8e8a4484ad0d4ae0fda1
treed00d4b5884aa9ecb381be41220fb2b42c0a4c27a
parentf469743673ceda5181970eb6b8090ba728c956fb
slub: new_slab_objects() can also get objects from partial list

Moving the attempt to get a slab page from the partial lists simplifies
__slab_alloc which is rather complicated.

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