From adsharma@sharma-home.net  Tue Feb  4 23:17:42 2003
Return-Path: <adsharma@sharma-home.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DC95437B405
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Feb 2003 23:17:42 -0800 (PST)
Received: from eagle.sharma-home.net (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A37BF43E4A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Feb 2003 23:17:40 -0800 (PST)
	(envelope-from adsharma@sharma-home.net)
Received: from astra.mirabella.net (astra.mirabella.net [192.168.1.3])
	by eagle.sharma-home.net (Postfix) with ESMTP id 8B8D2800E
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Feb 2003 23:22:13 -0800 (PST)
Received: by astra.mirabella.net (Postfix, from userid 1001)
	id 7CC1F29; Tue,  4 Feb 2003 23:17:47 -0800 (PST)
Message-Id: <20030205071747.7CC1F29@astra.mirabella.net>
Date: Tue,  4 Feb 2003 23:17:47 -0800 (PST)
From: Arun Sharma <adsharma@sharma-home.net>
Reply-To: Arun Sharma <adsharma@sharma-home.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: hw.ncpu and kern.smp.cpus duplicate same info
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         47937
>Category:       kern
>Synopsis:       hw.ncpu and kern.smp.cpus duplicate same info
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 04 23:20:08 PST 2003
>Closed-Date:    Wed Apr 11 19:52:49 GMT 2007
>Last-Modified:  Wed Apr 11 19:52:49 GMT 2007
>Originator:     Arun Sharma
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:

System: FreeBSD astra.mirabella.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Jan 25 18:25:49 PST 2003 root@astra.mirabella.net:/usr/src/sys/i386/compile/astra i386

>Description:
	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.
>Fix:
>Release-Note:
>Audit-Trail:

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

From: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
To: bug-followup@FreeBSD.org, adsharma@sharma-home.net
Cc:  
Subject: Re: kern/47937: hw.ncpu and kern.smp.cpus duplicate same info
Date: Wed, 11 Apr 2007 20:46:02 +0100

 I suspect this PR can be closed now, as we're presumably past the point
 of being "before too many people start using it"
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Wed Apr 11 19:52:45 UTC 2007 
State-Changed-Why:  
Too late, the userbase is too large now (Thanks Gavin for the feedback!) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47937 
>Unformatted:
