K 10 svn:author V 6 brooks K 8 svn:date V 27 2022-09-26T18:17:56.477199Z K 7 svn:log V 702 cpuset(9): Refer to CPU_SETSIZE not MAXCPU The maximum CPU number of a cpuset_t is determined by CPU_SETSIZE. In the kernel this is MAXCPU, but in userspace it is CPU_MAXSIZE unless CPU_SETSIZE is defined before including sys/_cpuset.h. CPU_MAXSIZE is 256 and in userspace MAXCPU is generally 1 because it being set to a larger MD value is gated on SMP being defined (not generally the case in userspace). Reported by: Nathaniel Wesley Filardo Reviewed by: cem, jhb Differential Revision: https://reviews.freebsd.org/D36679 (cherry picked from commit 8232a1eddadd6e70ce7bee085344b182517d44a7) Git Hash: 327705fbba740a28101aa2f5bd6a035046a5a7c5 Git Author: brooks@FreeBSD.org END