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] Question about pfn, mfn, PSE

To: "markus rechberg" <m.rechberg@xxxxxxx>
Subject: Re: [Xen-devel] Question about pfn, mfn, PSE
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 25 Jan 2006 11:15:23 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 25 Jan 2006 11:18:01 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7398.1138186847@xxxxxxxxxxxxxx>
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>
References: <7398.1138186847@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 25 Jan 2006, at 11:00, markus rechberg wrote:

Is PSE on x86-32 (Pagesize 4k and 4M together) activated? So can I setup
PTE mappings with 4k and 4M pages?

No, PSE isn't currently supported. You'd need to be allocated contiguous 4MB machine-memory regions, for starters.

machine_to_phys_mapping[100]; ok
machine_to_phys_mapping[375]; guest domain killed

In the test setup these are 375-389, 2952-54 and possibly some more, also seems to depend at which index I'm starting (everything above index 2962
seems to work fine).

Well, the machine_to_phys_mapping is just an array of longs. So the first 1024 entries are all in the same page. So it's really impossible that you get different behaviour accessing entry 374 versus entry 375. They should hit the same 4kB page of the machine_to_phys_mapping array!

 -- Keir

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>