Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2012 05:23:05 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r242466 - head/sys/mips/mips
Message-ID:  <201211020523.qA25N5No052084@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211020523.qA25N5No052084>