Re: [Xen-devel] [PATCH 1/2] xen: vnuma support for PV guests running as domU.

2013-11-14 Thread Elena Ufimtseva
On Thu, Nov 14, 2013 at 6:48 AM, Dario Faggioli wrote: > On gio, 2013-11-14 at 11:21 +, David Vrabel wrote: >> On 14/11/13 07:26, Dario Faggioli wrote: >> > IIRC, it's more something that was already happening (the breakage, I >> > mean), than a "safety net" for the unforeseeable future. Might

Re: [Xen-devel] [PATCH 1/2] xen: vnuma support for PV guests running as domU.

2013-11-14 Thread Stefano Stabellini
On Wed, 13 Nov 2013, Elena Ufimtseva wrote: > Issues Xen hypercall subop XENMEM_get_vnumainfo and sets the > NUMA topology, otherwise sets dummy NUMA node and prevents > numa_init from calling other numa initializators as they may > break other guests. > > Signed-off-by: Elena Ufimtseva > --- >

Re: [Xen-devel] [PATCH 1/2] xen: vnuma support for PV guests running as domU.

2013-11-14 Thread Dario Faggioli
On gio, 2013-11-14 at 11:21 +, David Vrabel wrote: > On 14/11/13 07:26, Dario Faggioli wrote: > > IIRC, it's more something that was already happening (the breakage, I > > mean), than a "safety net" for the unforeseeable future. Might be worth > > giving some context about it, perhaps referenci

Re: [Xen-devel] [PATCH 1/2] xen: vnuma support for PV guests running as domU.

2013-11-14 Thread David Vrabel
On 14/11/13 07:26, Dario Faggioli wrote: > On mer, 2013-11-13 at 22:36 -0500, Elena Ufimtseva wrote: >> +/* >> + * Set the "dummy" node and exit without error so Linux >> + * will not try any NUMA init functions which might break >> + * guests in the future. This will discard all pr

Re: [PATCH 1/2] xen: vnuma support for PV guests running as domU.

2013-11-14 Thread David Vrabel
On 14/11/13 03:36, Elena Ufimtseva wrote: > Issues Xen hypercall subop XENMEM_get_vnumainfo and sets the > NUMA topology, otherwise sets dummy NUMA node and prevents > numa_init from calling other numa initializators as they may > break other guests. "break other guests" doesn't seem correct to me

Re: [Xen-devel] [PATCH 1/2] xen: vnuma support for PV guests running as domU.

2013-11-13 Thread Dario Faggioli
On mer, 2013-11-13 at 22:36 -0500, Elena Ufimtseva wrote: > Signed-off-by: Elena Ufimtseva > --- > +++ b/arch/x86/include/asm/xen/vnuma.h > @@ -0,0 +1,12 @@ > +#ifndef _ASM_X86_VNUMA_H > +#define _ASM_X86_VNUMA_H > + > +#ifdef CONFIG_XEN > +int xen_vnuma_supported(void); > +int xen_numa_init(void)

[PATCH 1/2] xen: vnuma support for PV guests running as domU.

2013-11-13 Thread Elena Ufimtseva
Issues Xen hypercall subop XENMEM_get_vnumainfo and sets the NUMA topology, otherwise sets dummy NUMA node and prevents numa_init from calling other numa initializators as they may break other guests. Signed-off-by: Elena Ufimtseva --- arch/x86/include/asm/xen/vnuma.h | 12 arch/x86/mm/nu