Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2003 00:10:32 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Peter Wemm <peter@wemm.org>
Cc:        "Alan L. Cox" <alc@imimic.com>, Andrew Gallatin <gallatin@cs.duke.edu>, 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>
In-Reply-To: <20030217072612.577382A89E@canning.wemm.org>
References:  <3E500717.65436EAF@imimic.com> <20030217072612.577382A89E@canning.wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030217081032.GA7167>