Re: [PATCH] x86,NUMA:Get the number of ram pages directly in numa_meminfo_cover_memory()

From: Dave Hansen
Date: Wed Jun 21 2023 - 13:49:38 EST


On 6/15/23 07:20, Liam Ni wrote:
> In a previous implementation,The ram page is calculated
> by counting the number of holes,
> however,the number of ram pages is calculated during hole calculation.
> Therefore,we can directly calculate the amount of ram pages.

What problem does this patch solve?