Author: kib
Date: Mon Aug  3 17:17:17 2020
New Revision: 363801
URL: https://svnweb.freebsd.org/changeset/base/363801

Log:
  Provide more correct description for sysctl kern.smp.cores.
  
  Reported by:  dewa...@heuristicsystems.com.au
  PR:   248454
  Sponsored by: The FreeBSD Foundation
  MFC after:    3 days

Modified:
  head/sys/kern/subr_smp.c

Modified: head/sys/kern/subr_smp.c
==============================================================================
--- head/sys/kern/subr_smp.c    Mon Aug  3 16:43:40 2020        (r363800)
+++ head/sys/kern/subr_smp.c    Mon Aug  3 17:17:17 2020        (r363801)
@@ -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,
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to