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

Re: [Xen-devel] [Patch] [libxc] add missing free in xc_finish_mmu_updates to avoid memory leak



On Wed, 11 Apr 2007 16:34:07 +0100
Keir Fraser <keir@xxxxxxxxxxxxx> wrote:
> You could work around by stripping all pagetable-type pinning, then
> make updates to all memory pages, then reapply pagetable-type pinning.
> This would mean that your memory rollback code would not need to take
> special account of pagetables.

That was my first approach to solve the problem, but it failed. As far
as I understand it is not that easy because to unpin a frame its
typecount have to be 0. What is the general approach to decrease the
typecount to 0?

Stephan

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