|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
Re: [XenPPC] [linux-ppc-2.6] [XEN][POWERPC] Forgot to free foregin page
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
|
|
|
|
|