|
@@ -137,7 +137,7 @@ struct kmem_cache {
|
|
|
#ifdef CONFIG_ZONE_DMA
|
|
#ifdef CONFIG_ZONE_DMA
|
|
|
#define SLUB_DMA __GFP_DMA
|
|
#define SLUB_DMA __GFP_DMA
|
|
|
/* Reserve extra caches for potential DMA use */
|
|
/* Reserve extra caches for potential DMA use */
|
|
|
-#define KMALLOC_CACHES (2 * SLUB_PAGE_SHIFT - 6)
|
|
|
|
|
|
|
+#define KMALLOC_CACHES (2 * SLUB_PAGE_SHIFT)
|
|
|
#else
|
|
#else
|
|
|
/* Disable DMA functionality */
|
|
/* Disable DMA functionality */
|
|
|
#define SLUB_DMA (__force gfp_t)0
|
|
#define SLUB_DMA (__force gfp_t)0
|