From: Keir Fraser Subject: Re: struct page_info Date: Fri, 24 Apr 2009 08:33:11 +0100 Message-ID: References: <4F65016F6CB04E49BFFA15D4F7B798D9988CFB2E@orsmsx506.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4F65016F6CB04E49BFFA15D4F7B798D9988CFB2E@orsmsx506.amr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Cihula, Joseph" , Jan Beulich , xen-devel , "mukesh.rathor@oracle.com" List-Id: xen-devel@lists.xenproject.org On 24/04/2009 08:21, "Cihula, Joseph" 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