
29 Mar
2023
29 Mar
'23
10:22 a.m.
From: Zhou Guanghui <zhouguanghui1@huawei.com> The ECC feature increases a maximum of 64 reserved physical memory segments, which increases the number of memblocks. Signed-off-by: Zhou Guanghui <zhouguanghui1@huawei.com> Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com> Reviewed-by: Weilong Chen <chenweilong@huawei.com> --- mm/memblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memblock.c b/mm/memblock.c index b7744ae2ce3d..8ed8a92a3406 100644 --- a/mm/memblock.c +++ b/mm/memblock.c @@ -22,7 +22,7 @@ #include "internal.h" -#define INIT_MEMBLOCK_REGIONS 128 +#define INIT_MEMBLOCK_REGIONS 256 #define INIT_PHYSMEM_REGIONS 4 #ifndef INIT_MEMBLOCK_RESERVED_REGIONS -- 2.17.1