https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200802

--- Comment #2 from John Baldwin <[email protected]> ---
Hmm, the simplest change is to revert MAXCPU for now.  Longer term it might be
nice to rework the cpusetsize changes so that they only fail if there are CPU
IDs that don't fit in the requested size.

I think doing that would involve:

1) Replacing 'sizeof(cpuset_t)' with something like '(mp_maxid + NBBY - 1) /
NBBY'
2) When working with a cpuset internally rounding up the size to
'sizeof(cpuset_t)' to pass around internally and then truncating to the
requested size when doing a copyout.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to