git: e0c6e8910898 - main - arm64: increase MAXCPU to 1024, following amd64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Aug 2023 12:22:11 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=e0c6e8910898e49c3f83a0131dbdb1a9e774de44
commit e0c6e8910898e49c3f83a0131dbdb1a9e774de44
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-08-03 21:47:06 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-08-15 12:22:02 +0000
arm64: increase MAXCPU to 1024, following amd64
As in commit 9051987e40c5 for amd64, support up to 1024 CPU cores.
arm64 hardware with more than 256 CPU cores is currently available and
will become increasingly common over FreeBSD 14's lifetime.
PR: 269572
Reviewed by: andrew
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41319
---
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 a44fa3fcd9d2..417bd38574e4 100644
--- a/sys/arm64/include/param.h
+++ b/sys/arm64/include/param.h
@@ -60,7 +60,7 @@
#ifdef SMP
#ifndef MAXCPU
-#define MAXCPU 256
+#define MAXCPU 1024
#endif
#else
#define MAXCPU 1