From owner-cvs-src Mon Feb 17 0:10:43 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 4BC9A37B401; Mon, 17 Feb 2003 00:10:41 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 143ED43F93; Mon, 17 Feb 2003 00:10:40 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h1H8AX1o023793; Mon, 17 Feb 2003 00:10:33 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.7/8.12.7) with ESMTP id h1H8AX9o008124; Mon, 17 Feb 2003 00:10:33 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.7/8.12.7/Submit) id h1H8AWWi008111; Mon, 17 Feb 2003 00:10:32 -0800 (PST) Date: Mon, 17 Feb 2003 00:10:32 -0800 From: Marcel Moolenaar To: Peter Wemm Cc: "Alan L. Cox" , Andrew Gallatin , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/alpha machdep.c Message-ID: <20030217081032.GA7167@athlon.pn.xcllnt.net> References: <3E500717.65436EAF@imimic.com> <20030217072612.577382A89E@canning.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030217072612.577382A89E@canning.wemm.org> User-Agent: Mutt/1.5.3i 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 Sun, Feb 16, 2003 at 11:26:12PM -0800, Peter Wemm wrote: > > I note that somebody has been tinkering with this. I saw this in > somebody's tree: > #ifdef SPARSE_PHYSICAL_MEMORY > #define PHYS_TO_VM_PAGE(pa) vm_page_from_phys(pa) > #else > #define PHYS_TO_VM_PAGE(pa) (&vm_page_array[atop(pa) - first_page ]) > #endif > However, it then walks the phys_avail[] array. So all the abusers of > PHYS_TO_VM_PAGE() in MI code get to pay for it. And there are lots :-( Yep, that's me. On the ia64 branch. I started this to get the additional 1GB back on pluto1 and pluto2. I think it sort of works, but it also triggers some nice bounce-buffer issues. I didn't worry about performance yet... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message