xen-devel
Re: [Xen-devel] PVops domain 0 crash on NUMA system only Node==1 present
To: |
Vincent CARON <zerodeux@xxxxxxxxxxxx> |
Subject: |
Re: [Xen-devel] PVops domain 0 crash on NUMA system only Node==1 present (Was: Re: Bug#603632: linux-image-2.6.32-5-xen-amd64: Linux kernel 2.6.32/xen/amd64 booting fine on bare metal, but not as dom0 with Xen 4.0.1 (Dell R410)) |
From: |
Ian Campbell <Ian.Campbell@xxxxxxxxxx> |
Date: |
Tue, 23 Nov 2010 18:52:07 +0000 |
Cc: |
Cris Daniluk <cris.daniluk@xxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "603632@xxxxxxxxxxxxxxx" <603632@xxxxxxxxxxxxxxx> |
Delivery-date: |
Tue, 23 Nov 2010 10:52:53 -0800 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<1290513067.31507.7699.camel@xxxxxxxxxxxxxxxxxxxxxx> |
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
Organization: |
Citrix Systems, Inc. |
References: |
<20101115233253.11935.35707.reportbug@zerohal> <1290513067.31507.7699.camel@xxxxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
On Tue, 2010-11-23 at 11:51 +0000, Ian Campbell wrote:
>
> Perhaps we should be passing numa_node_id() (e.g. current node)
> instead of node 0?
I've just kicked off a build of the 2.6.32-27 Debian kernel with the
following additional patch, I will hopefully post the binaries tomorrow.
If you already have the capability to build a custom kernel in place you
might like to try it before then.
Ian.
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index 7b29ae1..868b172 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -418,7 +418,7 @@ static int find_unbound_irq(void)
if (irq == start)
goto no_irqs;
- desc = irq_to_desc_alloc_node(irq, 0);
+ desc = irq_to_desc_alloc_node(irq, numa_node_id());
if (WARN_ON(desc == NULL))
return -1;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|