Skip to contentSkip to conversation

patch-slab-split-05-name

PATCH New Manfred Spraul 1 participant 1 message Oct 4, 2002 Memory management

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 patch-slab-split-05-name

part 5:
- remove the space from the name of the DMA caches:
they make it impossible to tune the caches through /proc/slabinfo, and make parsing /proc/slabinfo difficult

2.4 doesn't contain the spaces, seems to be a bug from the introduction of the 96/192 byte slabs.

--
Manfred

mm/slab.c +1 -1
@@ -351,7 +351,7 @@
 	{     0,	NULL, NULL}
 };
 /* Must match cache_sizes above. Out of line to keep cache footprint low. */
-#define CN(x) { x, x " (DMA)" }
+#define CN(x) { x, x "(DMA)" }
 static struct { 
 	char *name; 
 	char *name_dma;