From owner-svn-src-all@FreeBSD.ORG Wed May 13 14:27:29 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E62E61065673; Wed, 13 May 2009 14:27:29 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id B67BC8FC0A; Wed, 13 May 2009 14:27:29 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 6B98546B49; Wed, 13 May 2009 10:27:29 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 681F98A026; Wed, 13 May 2009 10:27:28 -0400 (EDT) From: John Baldwin To: Marius Strobl Date: Wed, 13 May 2009 09:51:29 -0400 User-Agent: KMail/1.9.7 References: <200905122056.n4CKuYpZ032804@svn.freebsd.org> <1242162786.1755.51.camel@balrog.2hip.net> <20090512212813.GF1158@alchemy.franken.de> In-Reply-To: <20090512212813.GF1158@alchemy.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905130951.30037.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 13 May 2009 10:27:28 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Robert Noland Subject: Re: svn commit: r192026 - head/share/man/man9 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2009 14:27:30 -0000 On Tuesday 12 May 2009 5:28:13 pm Marius Strobl wrote: > On Tue, May 12, 2009 at 04:13:06PM -0500, Robert Noland wrote: > > On Tue, 2009-05-12 at 20:56 +0000, Marius Strobl wrote: > > > Author: marius > > > Date: Tue May 12 20:56:34 2009 > > > New Revision: 192026 > > > URL: http://svn.freebsd.org/changeset/base/192026 > > > > > > Log: > > > Correct r190283 (partially reverting it) as on sparc64 BUS_DMA_NOCACHE > > > actually is only valid for bus_dmamap_load(). > > > > Ok, this is getting very confusing... This means that code has to set > > this flag on both alloc and load to allow for somethine resembling > > consistent behavior. > > > > Personally I don't understand why amd64 and i386 where decided to > implement BUS_DMA_NOCACHE for bus_dmamem_alloc(9) only as this > is less flexible than using it with bus_dmamap_load(9) (which also > is the older existing implementation). Anyway, > documents BUS_DMA_NOCACHE and BUS_DMA_NOWRITE as "non-standard or > specific to only certain architectures" so I think it's okay for > the usage of these flags to differ across them. Hmm, it might be possible to move it to bus_dmamap_load() instead. -- John Baldwin