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:
parent
f76df4718d
commit
76887e84be
@ -40,7 +40,7 @@
|
|||||||
#define CPU_SETSIZE MAXCPU
|
#define CPU_SETSIZE MAXCPU
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CPU_MAXSIZE 256
|
#define CPU_MAXSIZE 1024
|
||||||
|
|
||||||
#ifndef CPU_SETSIZE
|
#ifndef CPU_SETSIZE
|
||||||
#define CPU_SETSIZE CPU_MAXSIZE
|
#define CPU_SETSIZE CPU_MAXSIZE
|
||||||
|
Loading…
Reference in New Issue
Block a user