On 20.04.2023 13:25, Henry Wang wrote:
> From: Wei Chen <wei.c...@arm.com>
> 
> As a memory range described in device tree cannot be split across
> multiple nodes. And it is very likely than if you have more than
> 64 nodes, you may need a lot more than 2 regions per node. So the
> default NR_NODE_MEMBLKS value (MAX_NUMNODES * 2) makes no sense
> on Arm.
> 
> So, for Arm, we would just define NR_NODE_MEMBLKS as an alias to
> NR_MEM_BANKS. And in the future NR_MEM_BANKS will be user-configurable
> via kconfig, but for now leave NR_MEM_BANKS as 128 on Arm. This
> avoid to have different way to define the value based NUMA vs non-NUMA.
> 
> Further discussions can be found here[1].
> 
> [1] https://lists.xenproject.org/archives/html/xen-devel/2021-09/msg02322.html
> 
> Signed-off-by: Wei Chen <wei.c...@arm.com>
> Signed-off-by: Henry Wang <henry.w...@arm.com>

Acked-by: Jan Beulich <jbeul...@suse.com>



Reply via email to