aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2023-08-03 21:47:06 +0000
committerEd Maste <emaste@FreeBSD.org>2023-08-15 12:22:02 +0000
commite0c6e8910898e49c3f83a0131dbdb1a9e774de44 (patch)
tree116bde07705a005af0c00e059f079ed637a70927
parent9d09051e261c7020e5aa933c6aa1c2d84ebd0457 (diff)
downloadsrc-e0c6e8910898.tar.gz
src-e0c6e8910898.zip
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
-rw-r--r--sys/arm64/include/param.h2
1 files changed, 1 insertions, 1 deletions
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