[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] page_info structure in Xen


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

> 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.