Re: [PATCH 2/3] MIPS: Loongson64: Clean up numa.c

2020-10-10 Thread Jiaxun Yang
在 2020/10/9 下午6:57, Tiezhu Yang 写道: (1) Replace nid_to_addroffset() with nid_to_addrbase() and then remove the related useless code. (2) Since end_pfn = start_pfn + node_psize, use "node_psize" instead of "end_pfn - start_pfn" to avoid the redundant calculation. (3) After commit

[PATCH 2/3] MIPS: Loongson64: Clean up numa.c

2020-10-09 Thread Tiezhu Yang
(1) Replace nid_to_addroffset() with nid_to_addrbase() and then remove the related useless code. (2) Since end_pfn = start_pfn + node_psize, use "node_psize" instead of "end_pfn - start_pfn" to avoid the redundant calculation. (3) After commit 6fbde6b492df ("MIPS: Loongson64: Move files to the