This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] x86-64 machine_to_phys vs NX bit

To: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, Rik van Riel <riel@xxxxxxxxxx>
Subject: Re: [Xen-devel] x86-64 machine_to_phys vs NX bit
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 25 Aug 2006 16:10:49 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 25 Aug 2006 08:11:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <8FFF7E42E93CC646B632AB40643802A8C77AB9@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbIThvco556b9roQ32C9hzQss15PgABlbhgAAEMwHc=
Thread-topic: [Xen-devel] x86-64 machine_to_phys vs NX bit
User-agent: Microsoft-Entourage/

On 25/8/06 3:46 pm, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx> 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!

 -- Keir

Xen-devel mailing list