From owner-svn-src-head@FreeBSD.ORG Mon Mar 2 16:11:43 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 723AB106564A; Mon, 2 Mar 2009 16:11:43 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 417A58FC17; Mon, 2 Mar 2009 16:11:43 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (pool-98-109-39-197.nwrknj.fios.verizon.net [98.109.39.197]) by cyrus.watson.org (Postfix) with ESMTPSA id C738646B43; Mon, 2 Mar 2009 11:11:42 -0500 (EST) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id n22GBa8G077859; Mon, 2 Mar 2009 11:11:37 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Dmitry Chagin Date: Mon, 2 Mar 2009 10:15:50 -0500 User-Agent: KMail/1.9.7 References: <200903011426.n21EQOdp045591@svn.freebsd.org> In-Reply-To: <200903011426.n21EQOdp045591@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903021015.51292.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 02 Mar 2009 11:11:37 -0500 (EST) X-Virus-Scanned: ClamAV 0.94.2/9061/Mon Mar 2 04:28:18 2009 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r189232 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 16:11:43 -0000 On Sunday 01 March 2009 9:26:24 am Dmitry Chagin wrote: > Author: dchagin > Date: Sun Mar 1 14:26:24 2009 > New Revision: 189232 > URL: http://svn.freebsd.org/changeset/base/189232 > > Log: > Fix range-check error introduced in r182292. Also do not do anything > if all processors in the map are not available, simply return. I think the ncpus == 0 case is arguably a panic offense FWIW. It would be a bug in the calling code for that to ever happen. -- John Baldwin