]> git.baikalelectronics.ru Git - kernel.git/commit
slub: Move node determination out of hotpath
authorChristoph Lameter <cl@linux.com>
Fri, 15 Apr 2011 19:48:15 +0000 (14:48 -0500)
committerPekka Enberg <penberg@kernel.org>
Sun, 17 Apr 2011 11:03:20 +0000 (14:03 +0300)
commit31aade946f7f17db20837efeb94b10a097fc6963
tree85d7cd2cc81d89805b9d3cc3c0ec89b5f6c357f9
parentb4b992ad6861b2568ccc75e357eb458cf255bd6d
slub: Move node determination out of hotpath

If the node does not change then there is no need to recalculate
the node from the page struct. So move the node determination
into the places where we acquire a new slab page.

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