Re: [PATCH] mm: cma: report correct node id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 19, 2023 at 03:02:10PM +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.

So please document that in your commit log.





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux