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] struct page_info

To: "Cihula, Joseph" <joseph.cihula@xxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "mukesh.rathor@xxxxxxxxxx" <mukesh.rathor@xxxxxxxxxx>
Subject: Re: [Xen-devel] struct page_info
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 24 Apr 2009 08:33:11 +0100
Cc:
Delivery-date: Fri, 24 Apr 2009 00:33:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4F65016F6CB04E49BFFA15D4F7B798D9988CFB2E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnEqNK8BHxMbnFASDKi/S6n2gldKAABDuKwAAB3ShI=
Thread-topic: [Xen-devel] struct page_info
User-agent: Microsoft-Entourage/12.17.0.090302
On 24/04/2009 08:21, "Cihula, Joseph" <joseph.cihula@xxxxxxxxx> wrote:

>>> Also, if "Page is on a free list:", I assume one of the PGC_ fields would
>>> be set?
>> 
>> Not would, but might.
> 
> Would:
>         ((page->count_info & PGC_count_mask) != 0 || page->count_info == 0)
> definitively indicate if a page was in use?

Only PGC_broken|PGC_offlined may be set for a free page. Most free pages
have count_info==0.

 -- Keir



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