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-ppc-devel

Re: [XenPPC] [linux-ppc-2.6] [XEN][POWERPC] Forgot to free foregin page

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [XenPPC] [linux-ppc-2.6] [XEN][POWERPC] Forgot to free foregin page by Xen VM area
From: Maria Butrico <butrico@xxxxxxxxxxxxx>
Date: Mon, 20 Nov 2006 15:54:36 -0500
Delivery-date: Mon, 20 Nov 2006 12:56:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E1GmD90-0000OK-Av@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
References: <E1GmD90-0000OK-Av@xxxxxxxxxxxxxxxxxxxxx>
Reply-to: butrico@xxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)
Xen patchbot-linux-ppc-2.6 wrote:
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 4e5b952199393a714bb28ded2e6f524448281b44
# Parent  47cd37e8f8a91bdf10b314cbaa8d5a9088be30fc
[XEN][POWERPC] Forgot to free foregin page by Xen VM area

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
 arch/powerpc/platforms/xen/util.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 47cd37e8f8a9 -r 4e5b95219939 arch/powerpc/platforms/xen/util.c
--- a/arch/powerpc/platforms/xen/util.c Tue Nov 14 19:33:36 2006 -0500
+++ b/arch/powerpc/platforms/xen/util.c Mon Nov 20 12:35:47 2006 -0500
@@ -33,6 +33,7 @@ EXPORT_SYMBOL_GPL(alloc_vm_area);
void free_vm_area(struct vm_struct *area)
 {
+       free_foreign_page(virt_to_page(area->addr));
        kfree(area);
 }
 EXPORT_SYMBOL_GPL(free_vm_area);

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
Does this patch fix Dilma's problem ("crash after sequence of create/destroy") or at least tries to do so?


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

<Prev in Thread] Current Thread [Next in Thread>