Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Aug 2020 10:12:39 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r363947 - stable/12/sys/kern
Message-ID:  <202008061012.076ACduT026957@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008061012.076ACduT026957>