svn commit: r363947 - stable/12/sys/kern

Konstantin Belousov kib at FreeBSD.org
Thu Aug 6 10:12:40 UTC 2020


Author: kib
Date: Thu Aug  6 10:12:39 2020
New Revision: 363947
URL: https://svnweb.freebsd.org/changeset/base/363947

Log:
  MFC r248454:
  Provide more correct description for sysctl kern.smp.cores.
  
  PR:	248454

Modified:
  stable/12/sys/kern/subr_smp.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/kern/subr_smp.c
==============================================================================
--- stable/12/sys/kern/subr_smp.c	Thu Aug  6 08:48:23 2020	(r363946)
+++ stable/12/sys/kern/subr_smp.c	Thu Aug  6 10:12:39 2020	(r363947)
@@ -104,7 +104,7 @@ SYSCTL_INT(_kern_smp, OID_AUTO, threads_per_core, CTLF
 
 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,


More information about the svn-src-stable-12 mailing list