|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] struct page_info
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
|
|
|
|
|