|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
Re: [XenPPC] crash after sequence of create/destroy
Thanks Dilma, this is an obvious leak in my foreign page allocator,
I'll have a fix shortly.
Here is the linux diff if you cannot wait.
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 11:26:25 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);
On Nov 18, 2006, at 10:18 PM, Dilma DaSilva wrote:
A couple of times I experienced that after a couple hours of "xm
create"/"xm destroy", the machine will crash:
with the following on the console.
XEN) Domain[20].0: initializing
cpu 0x0: Vector: 700 (Program Check) at [c000000077ed7810]
pc: c000000000047834: .alloc_vm_area+0xe4/0xf0
lr: c000000000047774: .alloc_vm_area+0x24/0xf0
sp: c000000077ed7a90
msr: 8000000000029032
current = 0xc000000077ed1140
paca = 0xc0000000005ae200
pid = 130, comm = xenwatch
kernel BUG in alloc_vm_area at /root/xen-maria-latest/linux/linux-
xen-ppc/arch/powerpc/platforms/xen/util.c:17!
enter ? for help
0:mon> t
[c000000077ed7b20] c000000000300e34 .blkif_map+0x74/0x1b0
[c000000077ed7bf0] c000000000300334 .frontend_changed+0x164/0x1f0
[c000000077ed7ca0] c0000000002fd2f0 .otherend_changed+0x100/0x110
[c000000077ed7d40] c0000000002f9d44 .xenwatch_handle_callback
+0x44/0xa0
[c000000077ed7dd0] c0000000002faf74 .xenwatch_thread+0x1b4/0x1f0
[c000000077ed7ee0] c000000000078ebc .kthread+0x11c/0x170
[c000000077ed7f90] c0000000000293b4 .original_kernel_thread+0x4c/0x68
0:mon>
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|
|
|
|
|