WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [Patch] [libxc] add missing free in xc_finish_mmu_update

To: Stephan Creutz <stephan.creutz@xxxxxxxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [Patch] [libxc] add missing free in xc_finish_mmu_updates to avoid memory leak
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sun, 08 Apr 2007 15:05:37 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 08 Apr 2007 07:03:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070408141436.15abe89f.stephan.creutz@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acd55vtdOcmt8+XaEduESAAWy6hiGQ==
Thread-topic: [Xen-devel] [Patch] [libxc] add missing free in xc_finish_mmu_updates to avoid memory leak
User-agent: Microsoft-Entourage/11.3.3.061214
On 8/4/07 13:14, "Stephan Creutz" <stephan.creutz@xxxxxxxxxxxxxxxxx> wrote:

>> What do you need it for? It's not all that useful to the toolstack any
>> more.
> 
> I'm trying to develop a fast rollback for domains without recreating
> the whole domain. In some cases I need to update pagetables to restore
> an older memory state from a checkpoint. Maybe I should integrate it in
> libxc itself to avoid code duplication. But I thought it would be better
> to start with an external tool because my rollback is very special. It
> uses the shadow pagetables all the time to track dirty pages.
> Shadow pagetables are slow, so it might not be useful for other users.

I'm not sure whether this will work. It's not possible to modify another
domain's page tables if Xen is currently type-tracking the page tables as
such. You'd have to modify Xen to be able to do that.

 -- Keir



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