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

Re: [Xen-devel] scrubbing free'd pages



On 25/05/2010 14:33, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

>> Other memory pages the domain freeing the
>> pages must scrub them itself before freeing them back to Xen.
> 
> Is that true for a HVM domain making a decrease_reservation hypercall?
> If so I should modify my code accordingly...

Yes you should.

> it also means I need to
> know if the page I'm decreasing is an unpopulated PoD page or not too.

Certainly you could avoid it in that case. Actually I think the PoD code can
detect and reclaim allocated-but-zeroed pages however. But not sure if you
really have to rely on that or not.

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