|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [PATCH] Do not set page's count_info directly
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx <> wrote:
> On 05/03/2009 14:33, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> wrote:
>
>>> This would be a shadow-code-specific macro. In general count_mask==0 can
>>> also mean the page is free, for example.
>>
>> Maybe I'm wrong, but anonymous page will have count_mask==0 while they are
>> allocated.
>>
>> Currently the only way that we can make sure the guest is free is through
>> the boot allocator bitmap. When the bit is clear, the page is free.
>> When the bit is set, and the count_mask!=0, then it is owned by someone
>> like guest ram, p2m table etc. if the count_mask==0, then it is either a
>> shadow page or a anoynymous page.
>>
>> Or do I missed anything?
>
> You are correct. I only gave one obvious example where count_info==0.
Thanks for your clarification.
-- Yunhong Jiang
>
> -- Keir
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|