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

Re: [Xen-devel] xenheap pages mapped by dom0



On 18/12/2009 15:29, "George Dunlap" <George.Dunlap@xxxxxxxxxxxxx> wrote:

> Hmm, the first two should probably happen in the opposite order, no?
> I.e., we should check to see that for each page we want to deallocate,
> page->count_info & PGC_count_mask == 0, returning -EBUSY if that fails;
> then unmark allocate and call free xenheap page?

No, PGC_allocated holds a reference count. Reference count cannot be zero
while PGC_allocated is true.

 -- 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®.