Index: linux-2.6.21-rc6/include/linux/slab.h =================================================================== --- linux-2.6.21-rc6.orig/include/linux/slab.h 2007-04-20 23:07:37.000000000 -0700 +++ linux-2.6.21-rc6/include/linux/slab.h 2007-04-20 23:11:53.000000000 -0700 @@ -20,17 +20,17 @@ typedef struct kmem_cache kmem_cache_t _ * Flags to pass to kmem_cache_create(). * The ones marked DEBUG are only valid if CONFIG_SLAB_DEBUG is set. */ -#define SLAB_DEBUG_FREE 0x00000100UL /* DEBUG: Perform (expensive) checks on free */ -#define SLAB_RED_ZONE 0x00000400UL /* DEBUG: Red zone objs in a cache */ -#define SLAB_POISON 0x00000800UL /* DEBUG: Poison objects */ -#define SLAB_HWCACHE_ALIGN 0x00002000UL /* Align objs on cache lines */ -#define SLAB_CACHE_DMA 0x00004000UL /* Use GFP_DMA memory */ -#define SLAB_STORE_USER 0x00010000UL /* DEBUG: Store the last owner for bug hunting */ -#define SLAB_RECLAIM_ACCOUNT 0x00020000UL /* Objects are reclaimable */ -#define SLAB_PANIC 0x00040000UL /* Panic if kmem_cache_create() fails */ -#define SLAB_DESTROY_BY_RCU 0x00080000UL /* Defer freeing slabs to RCU */ -#define SLAB_MEM_SPREAD 0x00100000UL /* Spread some memory over cpuset */ -#define SLAB_TRACE 0x00200000UL /* Trace allocations and frees */ +#define SLAB_DEBUG_FREE 0x00000001UL /* DEBUG: Perform (expensive) checks on free */ +#define SLAB_RED_ZONE 0x00000002UL /* DEBUG: Red zone objs in a cache */ +#define SLAB_POISON 0x00000004UL /* DEBUG: Poison objects */ +#define SLAB_STORE_USER 0x00000008UL /* DEBUG: Store the last owner for bug hunting */ +#define SLAB_TRACE 0x00000010UL /* Trace allocations and frees */ +#define SLAB_DESTROY_BY_RCU 0x00000020UL /* Defer freeing slabs to RCU */ +#define SLAB_HWCACHE_ALIGN 0x00000040UL /* Align objs on cache lines */ +#define SLAB_CACHE_DMA 0x00000080UL /* Use GFP_DMA memory */ +#define SLAB_PANIC 0x00000100UL /* Panic if kmem_cache_create() fails */ +#define SLAB_RECLAIM_ACCOUNT 0x00000200UL /* Objects are reclaimable */ +#define SLAB_MEM_SPREAD 0x00000400UL /* Spread some memory over cpuset */ /* Flags passed to a constructor functions */ #define SLAB_CTOR_CONSTRUCTOR 0x001UL /* If not set, then deconstructor */