Date: Sun, 11 May 2003 13:30:11 -0700 (PDT) From: Murray Stokely <murray@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/47937: hw.ncpu and kern.smp.cpus duplicate same info Message-ID: <200305112030.h4BKUB21089759@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/47937; it has been noted by GNATS.
From: Murray Stokely <murray@FreeBSD.org>
To: Arun Sharma <adsharma@sharma-home.net>
Cc: FreeBSD-gnats-submit@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305112030.h4BKUB21089759>
