On 05/09/2017 08:39 AM, Vijay Kilari wrote:
On Mon, May 8, 2017 at 10:21 PM, Julien Grall wrote:
On 28/03/17 16:53, vijay.kil...@gmail.com wrote:
+static int numa_setup(char *s);
+custom_param("numa", numa_setup);
+
+struct node_data node_data[MAX_NUMNODES];
+
+/* Mapping from pdx to node id
On 05/09/2017 08:36 AM, Vijay Kilari wrote:
On Mon, May 8, 2017 at 10:11 PM, Julien Grall wrote:
Hi Vijay,
On 28/03/17 16:53, vijay.kil...@gmail.com wrote:
diff --git a/xen/arch/x86/numa.c b/xen/arch/x86/numa.c
index 3bdab9a..33c6806 100644
--- a/xen/arch/x86/numa.c
+++ b/xen/arch/x86/num
On Mon, May 8, 2017 at 10:21 PM, Julien Grall wrote:
> On 28/03/17 16:53, vijay.kil...@gmail.com wrote:
>>
>> diff --git a/xen/common/numa.c b/xen/common/numa.c
>> new file mode 100644
>> index 000..207ebd8
>> --- /dev/null
>> +++ b/xen/common/numa.c
>> @@ -0,0 +1,488 @@
>> +/*
>> + * Common N
On Mon, May 8, 2017 at 10:11 PM, Julien Grall wrote:
> Hi Vijay,
>
>
> On 28/03/17 16:53, vijay.kil...@gmail.com wrote:
>>
>> diff --git a/xen/arch/x86/numa.c b/xen/arch/x86/numa.c
>> index 3bdab9a..33c6806 100644
>> --- a/xen/arch/x86/numa.c
>> +++ b/xen/arch/x86/numa.c
>> @@ -10,286 +10,13 @@
>>
On 28/03/17 16:53, vijay.kil...@gmail.com wrote:
diff --git a/xen/common/numa.c b/xen/common/numa.c
new file mode 100644
index 000..207ebd8
--- /dev/null
+++ b/xen/common/numa.c
@@ -0,0 +1,488 @@
+/*
+ * Common NUMA handling functions for x86 and arm.
+ * Original code extracted from arch/x86
Hi Vijay,
On 28/03/17 16:53, vijay.kil...@gmail.com wrote:
diff --git a/xen/arch/x86/numa.c b/xen/arch/x86/numa.c
index 3bdab9a..33c6806 100644
--- a/xen/arch/x86/numa.c
+++ b/xen/arch/x86/numa.c
@@ -10,286 +10,13 @@
#include
#include
#include
-#include
#include
#include
#include
#
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.
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 xen/numa.h.
Signed-off-by: Vijaya Kumar