aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2023-05-02 20:57:12 +0000
committerEd Maste <emaste@FreeBSD.org>2023-05-08 18:25:15 +0000
commit76887e84be975698b14699d7d0dfb157d73e9990 (patch)
treee0fc4427c585a499138c5ea4a2ed5112c4ac2a7b
parentf76df4718d27f512a7f02cccc12b9b10cf6ad13a (diff)
downloadsrc-76887e84be97.tar.gz
src-76887e84be97.zip
cpuset: increase userland maximum size to 1024
Hardware with more than 256 CPU cores is now available and will become increasingly common. Bump CPU_MAXSIZE (used for userland cpuset_t sizing) to 1024 to define the ABI for FreeBSD 14. PR: 269572, 271213 [exp-run] Reviewed by: mjg, jhb Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39941
-rw-r--r--sys/sys/_cpuset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/_cpuset.h b/sys/sys/_cpuset.h
index b75ee595da3c..676f9855f384 100644
--- a/sys/sys/_cpuset.h
+++ b/sys/sys/_cpuset.h
@@ -40,7 +40,7 @@
#define CPU_SETSIZE MAXCPU
#endif
-#define CPU_MAXSIZE 256
+#define CPU_MAXSIZE 1024
#ifndef CPU_SETSIZE
#define CPU_SETSIZE CPU_MAXSIZE