Re: [Xen-devel] [RFC PATCH v3 08/24] NUMA: x86: Move numa code and make it generic

2017-07-24 Thread Stefano Stabellini
On Wed, 19 Jul 2017, Julien Grall wrote: > Hi Vijay, > > On 18/07/17 12:41, vijay.kil...@gmail.com wrote: > > From: Vijaya Kumar K > > > > Move code from xen/arch/x86/numa.c to xen/common/numa.c > > so that it can be used by other archs. > > > > The following changes are done: > > - Few generic

Re: [Xen-devel] [RFC PATCH v3 08/24] NUMA: x86: Move numa code and make it generic

2017-07-20 Thread Julien Grall
Hi Vijay, On 20/07/17 09:55, Vijay Kilari wrote: On Wed, Jul 19, 2017 at 11:11 PM, Julien Grall wrote: Hi Vijay, On 18/07/17 12:41, vijay.kil...@gmail.com wrote: From: Vijaya Kumar K Move code from xen/arch/x86/numa.c to xen/common/numa.c so that it can be used by other archs. The follow

Re: [Xen-devel] [RFC PATCH v3 08/24] NUMA: x86: Move numa code and make it generic

2017-07-20 Thread Vijay Kilari
On Wed, Jul 19, 2017 at 11:11 PM, Julien Grall wrote: > Hi Vijay, > > On 18/07/17 12:41, vijay.kil...@gmail.com wrote: >> >> From: Vijaya Kumar K >> >> Move code from xen/arch/x86/numa.c to xen/common/numa.c >> so that it can be used by other archs. >> >> The following changes are done: >> - Few

Re: [Xen-devel] [RFC PATCH v3 08/24] NUMA: x86: Move numa code and make it generic

2017-07-19 Thread Julien Grall
Hi Vijay, On 18/07/17 12:41, vijay.kil...@gmail.com wrote: From: Vijaya Kumar K Move code from xen/arch/x86/numa.c to xen/common/numa.c so that it can be used by other archs. The following changes are done: - Few generic static functions in x86/numa.c is made non-static common/numa.c - The

Re: [Xen-devel] [RFC PATCH v3 08/24] NUMA: x86: Move numa code and make it generic

2017-07-18 Thread Vijay Kilari
On Tue, Jul 18, 2017 at 11:46 PM, Julien Grall wrote: > Hi, > > > On 18/07/17 16:29, Wei Liu wrote: >> >> On Tue, Jul 18, 2017 at 05:11:30PM +0530, vijay.kil...@gmail.com wrote: >> [...] >>> >>> diff --git a/xen/common/numa.c b/xen/common/numa.c >>> new file mode 100644 >>> index 000..0381f1b

Re: [Xen-devel] [RFC PATCH v3 08/24] NUMA: x86: Move numa code and make it generic

2017-07-18 Thread Julien Grall
Hi, On 18/07/17 16:29, Wei Liu wrote: On Tue, Jul 18, 2017 at 05:11:30PM +0530, vijay.kil...@gmail.com wrote: [...] diff --git a/xen/common/numa.c b/xen/common/numa.c new file mode 100644 index 000..0381f1b --- /dev/null +++ b/xen/common/numa.c @@ -0,0 +1,487 @@ +/* + * Common NUMA handling

Re: [Xen-devel] [RFC PATCH v3 08/24] NUMA: x86: Move numa code and make it generic

2017-07-18 Thread Wei Liu
On Tue, Jul 18, 2017 at 05:11:30PM +0530, vijay.kil...@gmail.com wrote: [...] > diff --git a/xen/common/numa.c b/xen/common/numa.c > new file mode 100644 > index 000..0381f1b > --- /dev/null > +++ b/xen/common/numa.c > @@ -0,0 +1,487 @@ > +/* > + * Common NUMA handling functions for x86 and arm

[Xen-devel] [RFC PATCH v3 08/24] NUMA: x86: Move numa code and make it generic

2017-07-18 Thread vijay . kilari
From: Vijaya Kumar K Move code from xen/arch/x86/numa.c to xen/common/numa.c so that it can be used by other archs. The following changes are done: - Few generic static functions in x86/numa.c is made non-static common/numa.c - The generic contents of header file asm-x86/numa.h are moved to