Date: Fri, 15 Dec 2006 10:37:22 +0100 From: Marc =?iso-8859-1?q?L=F6rner?= <marc.loerner@hob.de> To: freebsd-hackers@freebsd.org Cc: Suleiman Souhlal <ssouhlal@freebsd.org>, Hans Petter Selasky <hselasky@c2i.net> Subject: Re: Allocate aligned memory Message-ID: <200612151037.22931.marc.loerner@hob.de> In-Reply-To: <200612151019.22622.hselasky@c2i.net> References: <200612150937.37737.marc.loerner@hob.de> <458261DE.2040607@FreeBSD.org> <200612151019.22622.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 15 December 2006 10:19, Hans Petter Selasky wrote: ... > > My suggestion is to make the your high limit (currently 1 << 22) MUCH > > higher, if possible. Also, getting rid of the 1MB boundary might help. > > PS: contigmalloc is on the way out. Please use "man bus_dma" instead. For > an example see: > > http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb/usb_subr >.c > > And the function "usbd_mem_alloc_sub()". Thanks for the help, I finally got contigmalloc working! Next step is converting to bus_dmamem_alloc, but AFAICS this function still uses contigmalloc. So what are the main improvements on using these new functions? Kind regards, Marc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612151037.22931.marc.loerner>