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

Manfred Spraul (manfred@colorfullife.com)
Sat, 05 Oct 2002 01:06:53 +0200


This is a multi-part message in MIME format.
--------------060906060605070606010907
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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

--------------060906060605070606010907 Content-Type: text/plain; name="patch-slab-split-05-name" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-slab-split-05-name"

--- 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;

--------------060906060605070606010907--

- 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/