Re: [Xen-devel] [PATCH v3 1/3] x86/numa: Allow arbitrary value of PXM in PXM-node mapping

2015-02-26 Thread Dario Faggioli
On Wed, 2015-02-25 at 18:41 -0500, Boris Ostrovsky wrote: ACPI defines proximity domain identifier as a 32-bit integer. While in most cases the values will be zero-based this is not guaranteed, making current pxm2node[256] mapping structure not appropriate. We will instead use

[Xen-devel] [PATCH v3 1/3] x86/numa: Allow arbitrary value of PXM in PXM-node mapping

2015-02-25 Thread Boris Ostrovsky
ACPI defines proximity domain identifier as a 32-bit integer. While in most cases the values will be zero-based this is not guaranteed, making current pxm2node[256] mapping structure not appropriate. We will instead use MAX_NUMNODES-sized array of struct pxm2node to store PXM-to-node mapping. To