slub: Eliminate repeated use of c->page through a new page variable
authorChristoph Lameter <cl@linux.com>
Fri, 15 Apr 2011 19:48:14 +0000 (14:48 -0500)
committerPekka Enberg <penberg@kernel.org>
Sun, 17 Apr 2011 11:03:19 +0000 (14:03 +0300)
commit01ad8a7bc226ddbbf90e4c15167d9e31a8d02930
treeec3c1de81f6130917e1df2f4bbbc4d4be93e014c
parent5f80b13ae45df7da6646d1881da186318e70b6b6
slub: Eliminate repeated use of c->page through a new page variable

__slab_alloc is full of "c->page" repeats. Lets just use one local variable
named "page" for this. Also avoids the need to a have another variable
called "new".

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