]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb4b992ad6861b2568ccc75e357eb458cf255bd6d
treeec3c1de81f6130917e1df2f4bbbc4d4be93e014c
parentce72e5487159686a8a0a5f4849969f6c23b59cd7
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