Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2007 15:34:43 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-hackers@freebsd.org, John-Mark Gurney <gurney_j@resnet.uoregon.edu>, freebsd-usb@freebsd.org
Subject:   Re: New USB stack and Zero copy.
Message-ID:  <200707091534.44421.jhb@freebsd.org>
In-Reply-To: <200707071814.24578.hselasky@c2i.net>
References:  <200707040901.33019.hselasky@c2i.net> <200707061641.36396.jhb@freebsd.org> <200707071814.24578.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 07 July 2007 12:14:24 pm Hans Petter Selasky wrote:
> On Friday 06 July 2007 22:41, John Baldwin wrote:
> > On Friday 06 July 2007 02:59:39 am Hans Petter Selasky wrote:
> > > On Friday 06 July 2007 01:35, John Baldwin wrote:
> > > > On Thursday 05 July 2007 04:25:17 pm John Baldwin wrote:
> > > > > On Thursday 05 July 2007 03:31:59 am Hans Petter Selasky wrote:
> > > > > > On Wednesday 04 July 2007 19:35, John-Mark Gurney wrote:
> > > > > > > Hans Petter Selasky wrote this message on Wed, Jul 04, 2007 at
> 
> >
> > Huh?  The bounce pages are preallocated, so bus_dmamap_load() isn't going
> > to be allocating things.
> 
> When are they allocated ?

UTSL.  bus_dma_tag_create() (if you pass BUS_DMA_ALLOCNOW) or 
bus_dmamap_create() for the first map belonging to a tag.

-- 
John Baldwin



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