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
This commit is contained in:
Ed Maste 2023-05-02 16:57:12 -04:00
parent f76df4718d
commit 76887e84be

View File

@ -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