Add machine/param.h for MAXCPU and MAXMEMDOM in the _KERNEL case of
sys/_cpuset.h and sys/_domainset.h, making them more self contained.
This eliminates the need to include sys/param.h before sys/cpuset.h and
sys/domainset.h.
Differential D44466
sys/_{cpu,domain}set.h: don't require sys/param.h brooks on Mar 21 2024, 11:39 PM. Authored by Tags None Referenced Files
Subscribers None
Details
Add machine/param.h for MAXCPU and MAXMEMDOM in the _KERNEL case of This eliminates the need to include sys/param.h before sys/cpuset.h and
Diff Detail
Event TimelineComment Actions Alternatively we could require that consumers include sys/param.h and then only the the !RCTL case in sys/kern/kern_rctl.c needs changing, but this seems tidier. |