From owner-freebsd-current@FreeBSD.ORG Thu Apr 10 00:25:43 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2337037B401 for ; Thu, 10 Apr 2003 00:25:43 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A7B343FBD for ; Thu, 10 Apr 2003 00:25:42 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by sccrmhc02.attbi.com (sccrmhc02) with ESMTP id <200304100725410020070jgke>; Thu, 10 Apr 2003 07:25:41 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id AAA85859 for ; Thu, 10 Apr 2003 00:25:40 -0700 (PDT) Date: Thu, 10 Apr 2003 00:25:39 -0700 (PDT) From: Julian Elischer To: FreeBSD current users Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: variable mp_ncpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 10 Apr 2003 07:25:43 -0000 Would it be possible to have the sysclt hw.ncpu always available, even in a UP kernel? it is currently only valid in an SMP kernel whichmeans that userland code that needs to know this has to do: if (hw.ncpu exists) something(hw.ncpu) else something(1) having it always available would see a lot more consistant. julian