[Bug 230330] _SC_NPROCESSORS_ONLN reports offline CPUs

[email protected]
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230330

Jan Beich <[email protected]> changed:

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

--- Comment #3 from Jan Beich <[email protected]> ---
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.