Messages in this thread Patch in this message | | | Date | Sat, 05 Oct 2002 01:06:53 +0200 | From | Manfred Spraul <> | Subject | [PATCH] 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 --- 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; | |