[Bug 230330] _SC_NPROCESSORS_ONLN reports offline CPUs

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Feb 2023 23:45:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230330

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #195819|0                           |1
        is obsolete|                            |

--- Comment #3 from Jan Beich <jbeich@FreeBSD.org> ---
Created attachment 240141
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240141&action=edit
v2

- switch _SC_NPROCESSORS_ONLN to cpuset_getaffinity(), similar to musl/glibc
- switch linsysfs to CPU_FOREACH as suggested by kib@

-- 
You are receiving this mail because:
You are the assignee for the bug.