From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rik van Riel Subject: Re: x86-64 machine_to_phys vs NX bit Date: Fri, 25 Aug 2006 11:19:21 -0400 Message-ID: <44EF14F9.2090309@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com, "Nakajima, Jun" List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > > > On 25/8/06 3:46 pm, "Nakajima, Jun" wrote: > >> I agree, and I'm wondering why we don't have the same problem on i386? >> To me it basically does the same thing. > > A long is only 32 bits there, so when we pass the MFN portion the NX bit is > conveniently truncated away! Which means it'll do the wrong thing for machine addresses > 4GB on PAE, or am I overlooking something? -- What is important? What you want to be true, or what is true?