[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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))



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.