RE: [XEN RFC PATCH 30/40] xen: move NUMA memory and CPU parsed nodemasks to common

2021-08-26 Thread Wei Chen
Hi Juilien, > -Original Message- > From: Julien Grall > Sent: 2021年8月26日 1:17 > To: Wei Chen ; xen-devel@lists.xenproject.org; > sstabell...@kernel.org; jbeul...@suse.com > Cc: Bertrand Marquis > Subject: Re: [XEN RFC PATCH 30/40] xen: move NUMA memory and CPU

Re: [XEN RFC PATCH 30/40] xen: move NUMA memory and CPU parsed nodemasks to common

2021-08-25 Thread Julien Grall
Hi Wei, On 11/08/2021 11:24, Wei Chen wrote: Both memory_nodes_parsed and processor_nodes_parsed are using for Arm and x86 to record parded NUMA memory and CPU. So we move them to common. Looking at the usage, they both call: numa_set...(..., bitmap) So rather than exporting the two helpers,

[XEN RFC PATCH 30/40] xen: move NUMA memory and CPU parsed nodemasks to common

2021-08-11 Thread Wei Chen
Both memory_nodes_parsed and processor_nodes_parsed are using for Arm and x86 to record parded NUMA memory and CPU. So we move them to common. Signed-off-by: Wei Chen --- xen/arch/arm/numa_device_tree.c | 2 -- xen/arch/x86/srat.c | 3 --- xen/common/numa.c | 3 +++ xen