slub: look up object from the freelist once
authorPekka J Enberg <penberg@cs.helsinki.fi>
Sat, 1 Mar 2008 21:43:54 +0000 (13:43 -0800)
committerChristoph Lameter <clameter@sgi.com>
Mon, 3 Mar 2008 20:22:32 +0000 (12:22 -0800)
commit7693143481730686362cc6360e3d47c012d9b2c8
treec621d072280676d62c3ae61ea97d3e8c471d1f92
parent6446faa2ff30ca77c5b25e886bbbfb81c63f1c91
slub: look up object from the freelist once

We only need to look up object from c->page->freelist once in
__slab_alloc().

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
mm/slub.c