SLUB: Introduce and use SLUB_MAX_SIZE and SLUB_PAGE_SHIFT constants
authorChristoph Lameter <cl@linux-foundation.org>
Tue, 17 Feb 2009 17:05:07 +0000 (12:05 -0500)
committerPekka Enberg <penberg@cs.helsinki.fi>
Fri, 20 Feb 2009 10:28:36 +0000 (12:28 +0200)
commitfe1200b63d158b28eef6d4de1e5b5f99c681ba2f
treebff176ef50efbc161e240ec4295a6da815eae997
parentb578f3fcca1e78624dfb5f358776e63711d7fda2
SLUB: Introduce and use SLUB_MAX_SIZE and SLUB_PAGE_SHIFT constants

As a preparational patch to bump up page allocator pass-through threshold,
introduce two new constants SLUB_MAX_SIZE and SLUB_PAGE_SHIFT and convert
mm/slub.c to use them.

Reported-by: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com>
Tested-by: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com>
Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
include/linux/slub_def.h
mm/slub.c