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] page_info structure in Xen

To: Carol Gao <carol.gao@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] page_info structure in Xen
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 08 Aug 2006 10:09:02 +0100
Delivery-date: Tue, 08 Aug 2006 02:09:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <eaf8fa1f0608071124kf33bb2jf422b352b92ea42@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aca6ykpWiM0pASa9EduaRAAKle7CWA==
Thread-topic: [Xen-devel] page_info structure in Xen
User-agent: Microsoft-Entourage/

On 7/8/06 7:24 pm, "Carol Gao" <carol.gao@xxxxxxxxxx> wrote:

> In the file xen/include/asm-x86/mm.h, a "page_info" structure is
> defined.  I am wondering when the PGT_type is set to be PGT_none and
> when it is set to be  PGT_writable_page?

It is set to PGT_writable_page when any guest has a writable mapping of that
page. If the page is read only then it has type PGT_none.

 -- Keir

Xen-devel mailing list

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