svn commit: r242466 - head/sys/mips/mips

Adrian Chadd adrian at FreeBSD.org
Fri Nov 2 05:23:06 UTC 2012


Author: adrian
Date: Fri Nov  2 05:23:05 2012
New Revision: 242466
URL: http://svn.freebsd.org/changeset/base/242466

Log:
  Drop this from 500 to 128, to save a little space on memory constrained
  platforms.

Modified:
  head/sys/mips/mips/busdma_machdep.c

Modified: head/sys/mips/mips/busdma_machdep.c
==============================================================================
--- head/sys/mips/mips/busdma_machdep.c	Fri Nov  2 05:22:32 2012	(r242465)
+++ head/sys/mips/mips/busdma_machdep.c	Fri Nov  2 05:23:05 2012	(r242466)
@@ -153,7 +153,7 @@ static STAILQ_HEAD(, bus_dmamap) bounce_
 static TAILQ_HEAD(,bus_dmamap) dmamap_freelist = 
 	TAILQ_HEAD_INITIALIZER(dmamap_freelist);
 
-#define BUSDMA_STATIC_MAPS	500
+#define BUSDMA_STATIC_MAPS	128
 static struct bus_dmamap map_pool[BUSDMA_STATIC_MAPS];
 
 static struct mtx busdma_mtx;


More information about the svn-src-head mailing list