HomeFreeBSD

nproc: denote an incompatiblity with Linux

Description

nproc: denote an incompatiblity with Linux

On Linux _NPROCESSORS_CONF reports CPU threads disabled by the kernel,
while it does not on FreeBSD.

Flip _NPROCESSORS_ONLN to _NPROCESSORS_CONF. While it keeps reporting
the same value, it will automagically unbreak should someone change the
above.

Details

Provenance
mjgAuthored on Feb 15 2023, 8:17 PM
Parents
rG5dd48f718433: netlink: use ifmedia to provide vlan interface operstate.
Branches
Unknown
Tags
Unknown