[PATCH] patch-slab-split-05-name

From: Manfred Spraul (manfred@colorfullife.com)
Date: Fri Oct 04 2002 - 18:06:53 EST


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

--- 2.5/mm/slab.c Fri Oct 4 21:38:29 2002 +++ build-2.5/mm/slab.c Sat Oct 5 01:01:20 2002 @@ -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;

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:48 EST