From 014812b9beba9adbf321d2f0545db228d31e5d1c Mon Sep 17 00:00:00 2001 From: Oleksandr Tymoshenko Date: Tue, 1 Dec 2020 20:10:55 +0000 Subject: [PATCH] [arm64] Bump MAXMEMDOM value to 8 to match amd64 On some of the server-grade ARM64 machines the number of NUMA domains is higher than 2. When booting GENERIC kernel on such machines the SRAT parser fails leaving the system with a single domain. To make GENERIC kernel usable on those server, match the parameter value with the one for amd64 arch. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D27368 Sponsored by: Ampere Computing Submitted by: Klara, Inc. --- sys/arm64/include/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/include/param.h b/sys/arm64/include/param.h index 83f40c43a65..f9d09eb49ed 100644 --- a/sys/arm64/include/param.h +++ b/sys/arm64/include/param.h @@ -63,7 +63,7 @@ #endif #ifndef MAXMEMDOM -#define MAXMEMDOM 2 +#define MAXMEMDOM 8 #endif #define ALIGNBYTES _ALIGNBYTES