From: Keir Fraser Subject: Re: page_info structure in Xen Date: Tue, 08 Aug 2006 10:09:02 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Carol Gao , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 7/8/06 7:24 pm, "Carol Gao" 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