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:22:44 +0000 (12:22 +0200)
commitffadd4d0feb5376c82dc3a4104731b7ce2794edc
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