From owner-freebsd-current@FreeBSD.ORG Thu Jan 12 12:35:39 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68C54106564A; Thu, 12 Jan 2012 12:35:39 +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 3C2388FC12; Thu, 12 Jan 2012 12:35:39 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id D5CDA46B0D; Thu, 12 Jan 2012 07:35:38 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 64BE9B941; Thu, 12 Jan 2012 07:35:38 -0500 (EST) From: John Baldwin To: Andriy Gapon Date: Wed, 11 Jan 2012 17:40:31 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <4F0C9D14.60705@FreeBSD.org> <4F0DC476.8050509@FreeBSD.org> <4F0DE97F.60208@FreeBSD.org> In-Reply-To: <4F0DE97F.60208@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201201111740.31125.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 12 Jan 2012 07:35:38 -0500 (EST) Cc: freebsd-current@freebsd.org Subject: Re: bus dma: a flag/quirk for page zero X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2012 12:35:39 -0000 On Wednesday, January 11, 2012 2:56:47 pm Andriy Gapon wrote: > on 11/01/2012 19:18 Andriy Gapon said the following: > > Actually, I think that on x86 we don't have to do anything special for any memory > > allocations that we do, including the bounce pages, as the page zero is excluded > > from phys_avail and is not available for normal use. > > After some additional thinking there is probably no reason to take advantage of > this fact. First, it would increase differences with other platforms. Second, > it would add a hidden dependency. So it's better to be explicit here. Agreed. -- John Baldwin