From 9372072854a1ca63bb50f1277ced3d65bcbf5fcd Mon Sep 17 00:00:00 2001 From: Christoph Lameter Date: Fri, 15 Feb 2008 23:45:25 -0800 Subject: [PATCH] slub: Reduce order to 4 Order 6 is a bit harsh on the page allocator and results in slow allocs. Signed-off-by: Christoph Lameter --- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/mm/slub.c =================================================================== --- linux-2.6.orig/mm/slub.c 2008-02-28 17:59:04.052036944 -0800 +++ linux-2.6/mm/slub.c 2008-02-28 17:59:07.708054796 -0800 @@ -149,7 +149,7 @@ static inline void ClearSlabDebug(struct /* Enable to test recovery from slab corruption on boot */ #undef SLUB_RESILIENCY_TEST -#define DEFAULT_MAX_ORDER 6 +#define DEFAULT_MAX_ORDER 4 #define DEFAULT_MIN_OBJECTS 60 /*