From owner-freebsd-usb@FreeBSD.ORG Mon Jul 9 21:07:04 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C677D16A41F; Mon, 9 Jul 2007 21:07:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id 24A2E13C4B0; Mon, 9 Jul 2007 21:07:03 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l69L6q1W064323; Mon, 9 Jul 2007 17:06:55 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Hans Petter Selasky Date: Mon, 9 Jul 2007 15:34:43 -0400 User-Agent: KMail/1.9.6 References: <200707040901.33019.hselasky@c2i.net> <200707061641.36396.jhb@freebsd.org> <200707071814.24578.hselasky@c2i.net> In-Reply-To: <200707071814.24578.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707091534.44421.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 09 Jul 2007 17:06:55 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3616/Mon Jul 9 15:27:14 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-hackers@freebsd.org, freebsd-usb@freebsd.org Subject: Re: New USB stack and Zero copy. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 21:07:04 -0000 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