On 2023/10/19 13:02, Christoph Hellwig wrote:
On Thu, Oct 19, 2023 at 09:32:53AM +0800, Kefeng Wang wrote:Use early_pfn_to_nid() to get correct node id from base instead of the default NUMA_NO_NODE in cma_declare_contiguous_nid().Why?
before: cma: Reserved 32 MiB at 0x00000000fe000000 on node -1 after: cma: Reserved 32 MiB at 0x00000000fe000000 on node 0 I think the real nid 0 is better than -1, but yes, it is not a big deal.