Provide more correct description for sysctl kern.smp.cores.
Reported by: dewayne@heuristicsystems.com.au PR: 248454 Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
7e077ed00c
commit
ca9a39acb3
@ -104,7 +104,7 @@ SYSCTL_INT(_kern_smp, OID_AUTO, threads_per_core, CTLFLAG_RD|CTLFLAG_CAPRD,
|
||||
|
||||
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");
|
||||
"Number of physical cores online");
|
||||
|
||||
int smp_topology = 0; /* Which topology we're using. */
|
||||
SYSCTL_INT(_kern_smp, OID_AUTO, topology, CTLFLAG_RDTUN, &smp_topology, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user