RE: [PATCH v3 5/6] device-dax: use fallback nid when numa_node is invalid

2020-07-08 Thread Justin He
ists.infradead.org>; Linux Kernel Mailing List ker...@vger.kernel.org>; linux-i...@vger.kernel.org; Linux-sh s...@vger.kernel.org>; linux-nvdimm ; Linux MM > ; Jonathan Cameron ; Kaly > Xin > Subject: Re: [PATCH v3 5/6] device-dax: use fallback nid when numa_node is > invalid &g

Re: [PATCH v3 5/6] device-dax: use fallback nid when numa_node is invalid

2020-07-08 Thread Dan Williams
On Wed, Jul 8, 2020 at 7:07 PM Jia He wrote: > > numa_off is set unconditionally at the end of dummy_numa_init(), > even with a fake numa node. ACPI detects node id as NUMA_NO_NODE(-1) in > acpi_map_pxm_to_node() because it regards numa_off as turning off the numa > node. Hence dev_dax->target_nod