kern/47937: hw.ncpu and kern.smp.cpus duplicate same info

Murray Stokely murray at FreeBSD.org
Sun May 11 13:30:12 PDT 2003


The following reply was made to PR kern/47937; it has been noted by GNATS.

From: Murray Stokely <murray at FreeBSD.org>
To: Arun Sharma <adsharma at sharma-home.net>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: kern/47937: hw.ncpu and kern.smp.cpus duplicate same info
Date: Sun, 11 May 2003 13:21:39 -0700

 On Tue, Feb 04, 2003 at 11:17:47PM -0800, Arun Sharma wrote:
 > 	hw.ncpu and kern.smp.cpus duplicate same info
 > 
 > >How-To-Repeat:
 > 	# sysctl hw.ncpu
 > 	# sysctl kern.smp.cpus
 > 
 > 	One of them (kern.smp.cpus ?) should be eliminated before
 > 	too many people start using it.
 
 
 The bigger problem is that the sysctl's aren't documented very well.
 Can you come up with a patch to help document these better?  Either in
 sysctl(8), or tuning(7), or anywhere else?  kern.smp.* only shows up
 on SMP aware kernels, so I don't really see this as that big of a
 problem.  If you're interested, please work with Tom Rhodes and the
 doc team on finding the best place to document these different sysctl
 tunables.
 
 Personally, I think this PR should be closed, but I'd appreciate any
 help you could give us on the larger sysctl documentation problem.
 
      - Murray


More information about the freebsd-bugs mailing list