[Bug 230330] _SC_NPROCESSORS_ONLN reports offline CPUs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 3 13:40:07 UTC 2018


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

            Bug ID: 230330
           Summary: _SC_NPROCESSORS_ONLN reports offline CPUs
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: standards
          Assignee: standards at FreeBSD.org
          Reporter: jbeich at FreeBSD.org

Created attachment 195818
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195818&action=edit
workaround

FreeBSD unlike Linux (GNU libc), Solaris, NetBSD, OpenBSD, etc. has
_SC_NPROCESSORS_ONLN being a synonym for _SC_NPROCESSORS_CONF. Also affects
/sys/devices/system/cpu/cpu%d/online in linsysfs.

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


More information about the freebsd-standards mailing list