[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Do not set page's count_info directly



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.

 -- Keir



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.