From owner-freebsd-current@FreeBSD.ORG Sun Jun 20 19:39:16 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 858831065674 for ; Sun, 20 Jun 2010 19:39:16 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 4CB738FC15 for ; Sun, 20 Jun 2010 19:39:16 +0000 (UTC) Received: from core.draftnet (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 66B545D19 for ; Sun, 20 Jun 2010 19:39:14 +0000 (UTC) From: Bruce Cran To: freebsd-current@freebsd.org Date: Sun, 20 Jun 2010 20:38:37 +0100 User-Agent: KMail/1.13.3 (FreeBSD/9.0-CURRENT; KDE/4.4.4; amd64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201006202038.37579.bruce@cran.org.uk> Subject: Bug in debug.ncores sysctl code X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 19:39:16 -0000 I noticed on my i386 router running 9-CURRENT that the "debug.ncores" sysctl appears to get its value from some kernel memory that gets updated frequently: debug.ncores: -936629388 On line 2967 of sys/kern/kern_sig.c should the value of num_cores instead of ncores be getting returned? -- Bruce Cran