Index: linux-2.6.21-rc6/include/linux/slub_def.h =================================================================== --- linux-2.6.21-rc6.orig/include/linux/slub_def.h 2007-04-11 13:45:27.000000000 -0700 +++ linux-2.6.21-rc6/include/linux/slub_def.h 2007-04-11 13:45:55.000000000 -0700 @@ -62,7 +62,7 @@ struct kmem_cache { /* * Kmalloc subsystem. */ -#define KMALLOC_SHIFT_LOW 3 +#define KMALLOC_SHIFT_LOW 5 #ifdef CONFIG_LARGE_ALLOCS #define KMALLOC_SHIFT_HIGH 25 @@ -92,8 +92,6 @@ static inline int kmalloc_index(int size return 1; if (size > 128 && size <= 192) return 2; - if (size <= 8) return 3; - if (size <= 16) return 4; if (size <= 32) return 5; if (size <= 64) return 6; if (size <= 128) return 7;