lkml.org 
[lkml]   [2002]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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;
\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.053 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site