Update Makefile.depend filesAfter building packages we have a number of newand updated Makefile.depend filesReviewed by: stevek
nproc: Prefer sys/cdefs.h __unreachable over the builtinThe __builtin_unreachable macro provided by Clang and GCC is a hint tothe compiler used for optimization. The programs work fine even if the
nproc: Prefer sys/cdefs.h __unreachable over the builtinThe __builtin_unreachable macro provided by Clang and GCC is a hint tothe compiler used for optimization. The programs work fine even if thecompiler doesn't support it. The sys/cdefs.h has had __unreachable for9 years (commit 732b31de5d9244bd1cc98192e09ee1881e9f55e9). It expandsto the builtin if it is available. In the rare case that it isunsupported it expands to a null statement so compilation does notfail.Signed-off-by: Collin Funk <collin.funk1@gmail.com>Reviewed by: imp, freebsd@igalic.coPull Request: https://github.com/freebsd/freebsd-src/pull/1117
show more ...
nproc.1: Fix "first appeared in" detailsnproc(1) has been MFC'ed into 13-STABLE and made it into 13.2-RELEASE.MFC after: 3 days
nproc: denote an incompatiblity with LinuxOn Linux _NPROCESSORS_CONF reports CPU threads disabled by the kernel,while it does not on FreeBSD.Flip _NPROCESSORS_ONLN to _NPROCESSORS_CONF. While it
nproc: denote an incompatiblity with LinuxOn 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 reportingthe same value, it will automagically unbreak should someone change theabove.
man: some typesetting and style fixes for recent additionsMostly start each sentence from a new line. Also add more prettytypesetting to cdce(4).Reviewed by: impSponsored by: The FreeBSD Found
man: some typesetting and style fixes for recent additionsMostly start each sentence from a new line. Also add more prettytypesetting to cdce(4).Reviewed by: impSponsored by: The FreeBSD FoundationDifferential revision: https://reviews.freebsd.org/D38501
Add nproc(1)This program prints the number of CPU threads it can run on, whilerespecting cpusets (or not, depending on switches).It aims to be compatible with nproc as found in GNU coreutils.R
Add nproc(1)This program prints the number of CPU threads it can run on, whilerespecting cpusets (or not, depending on switches).It aims to be compatible with nproc as found in GNU coreutils.Reviewed by: desReviewed by: pstefDifferential Revision: https://reviews.freebsd.org/D38386