From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Knorr Subject: Re: PAE xen + linux kernel boots ... Date: Wed, 4 May 2005 09:58:14 +0200 Message-ID: <20050504075814.GA31923@bytesex> References: <20050504022814.GD7409@us.ibm.com> <20050504032331.GA3247@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20050504032331.GA3247@us.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Scott Parish Cc: xen-devel@lists.xensource.com, Kip Macy List-Id: xen-devel@lists.xenproject.org On Wed, May 04, 2005 at 03:23:31AM +0000, Scott Parish wrote: > That's what i thought. So, for example, why does pfn_pte() call > pfn_to_mfn() where pfn_pte_ma() does not. I bet i'm missing some > trivial thing, but this just seems backwards. Well, the names are a bit confusing. * "machine address" is the address of the real machine. * "physical address" is the address within the virtual machine. So what you have in the page table entries is the "machine address", but the virtualized linux usually has to translate that into the "physical address", when looking up the page information in the virtual machines frame table (mem_map[] in linux IIRC) for example. Gerd