From owner-cvs-src Thu Feb 20 8: 5:27 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4263637B401; Thu, 20 Feb 2003 08:05:26 -0800 (PST) Received: from odysseus.silby.com (d101.as21.nwbl0.wi.voyager.net [169.207.138.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F83343FBD; Thu, 20 Feb 2003 08:05:24 -0800 (PST) (envelope-from silby@silby.com) Received: from odysseus.silby.com (localhost [127.0.0.1]) by odysseus.silby.com (8.12.7/8.12.7) with ESMTP id h1KG2Bsl003057; Thu, 20 Feb 2003 10:02:13 -0600 (CST) (envelope-from silby@silby.com) Received: from localhost (silby@localhost) by odysseus.silby.com (8.12.7/8.12.7/Submit) with ESMTP id h1KG29N9003054; Thu, 20 Feb 2003 10:02:09 -0600 (CST) X-Authentication-Warning: odysseus.silby.com: silby owned process doing -bs Date: Thu, 20 Feb 2003 10:02:09 -0600 (CST) From: Mike Silbersack To: Andrew Gallatin Cc: Sam Leffler , Scott Long , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/aac aac.c aac_pci.c In-Reply-To: <20030220093631.A48177@grasshopper.cs.duke.edu> Message-ID: <20030220100033.B2758@odysseus.silby.com> References: <200302192158.h1JLwYJn025529@repoman.freebsd.org> <20030219161458.T62705@patrocles.silby.com> <20030219181629.A46948@grasshopper.cs.duke.edu> <20030219182122.N62705@patrocles.silby.com> <3E54219C.9030103@btc.adaptec.com> <20030219212343.O64167@patrocles.silby.com> <0d1a01c2d894$c99c0540$52557f42@errno.com> <20030220093631.A48177@grasshopper.cs.duke.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Feb 2003, Andrew Gallatin wrote: > I'm not the most familiar person with the busdma interface.. but.. > at least for network drivers, bus_dmamem_alloc() is typically called > for descriptor lists, etc. Eg, data shared with the nic, and is done > at attach time, right? Its never called from the transmit or recv > routines. > > Drew I noticed that as well when I took a look, so it does appear that bus_dmamem* may be useable with much locking. Still, someone should definitely review those routines and put in appropriate comments on locking requirements / etc. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message