WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] page_info structure in Xen

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] page_info structure in Xen
From: "Carol Gao" <carol.gao@xxxxxxxxxx>
Date: Wed, 9 Aug 2006 09:22:27 -0700
Delivery-date: Thu, 10 Aug 2006 01:52:47 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ujl8y7KzfsHbenGVNoyrBi1wufXRsW2h1Js/F4SZ9O61UvD6QTwHY7xEspMu8xOoI2snawfjXF3AgTp2zFdjo01VmDTZ923RSkBLbT4FmA4eJtEPcu4wYxXL99Hjqit+MNdIGQRTXehV+vBDjHoqM2Bc6dyn1Ks/+MNDeBa7F+A=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <eaf8fa1f0608081040r11cbda3drcd8c1920f5856c6@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: <eaf8fa1f0608081040r11cbda3drcd8c1920f5856c6@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> 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.

Thanks for the reply.

When the guest loads the executable object's or library's text section
into its pagecache, will the page_info be PGT_none or
PGT_writable_page?

Where can I find those functions that set the value of PGT_type?  Thanks a lot.

Carol

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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