https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248454
Bug ID: 248454
Summary: Two sysctls in /sys/kern/subr_smp.c with identical
description - suggestion enclosed
Product: Base System
Version: 12.1-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Would it be possible to modify the descriptions of /usr/src/sys/kern/subr_smp.c
to more accurately reflect the meaning of the sysctls. As a suggestion on line
99 to read
"Number of logical CPUs online"
and line 107 to read
"Number of physical CPUs online"
per:
Line 99
int smp_cpus = 1; /* how many cpu's running */
SYSCTL_INT(_kern_smp, OID_AUTO, cpus, CTLFLAG_RD|CTLFLAG_CAPRD, &smp_cpus, 0,
"Number of CPUs online");
Line 107
int mp_ncores = -1; /* how many physical cores running */
SYSCTL_INT(_kern_smp, OID_AUTO, cores, CTLFLAG_RD|CTLFLAG_CAPRD, &mp_ncores, 0,
"Number of CPUs online");
:) I'll leave hw.ncpu for another day ;)
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"