mm, slub: extract get_partial() from new_slab_objects()
authorVlastimil Babka <vbabka@suse.cz>
Tue, 11 May 2021 10:45:48 +0000 (12:45 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Fri, 3 Sep 2021 23:12:20 +0000 (01:12 +0200)
commit2a904905ae041504aefaf8fc7144d31b940443e0
tree0f757b1c1703dc743b9fdc707a33bfb50041df9e
parent976b805c782a57256e08aeaab45a64536b8887cf
mm, slub: extract get_partial() from new_slab_objects()

The later patches will need more fine grained control over individual actions
in ___slab_alloc(), the only caller of new_slab_objects(), so this is a first
preparatory step with no functional change.

This adds a goto label that appears unnecessary at this point, but will be
useful for later changes.

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Christoph Lameter <cl@linux.com>
mm/slub.c