From owner-svn-src-head@FreeBSD.ORG Mon Mar 2 18:34:07 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 A453910657A1; Mon, 2 Mar 2009 18:34:07 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 4CF738FC08; Mon, 2 Mar 2009 18:34:07 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id E199666025; Mon, 2 Mar 2009 21:10:34 +0300 (MSK) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1655489703; Mon, 02 Mar 2009 21:10:34 +0300 Received: from dchagin.static.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.static.corbina.ru (8.14.3/8.14.3) with ESMTP id n22IAXsV010484; Mon, 2 Mar 2009 21:10:33 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.3/8.14.3/Submit) id n22IASoS010483; Mon, 2 Mar 2009 21:10:28 +0300 (MSK) (envelope-from dchagin) Date: Mon, 2 Mar 2009 21:10:28 +0300 From: Chagin Dmitry To: John Baldwin Message-ID: <20090302181028.GA10447@dchagin.static.corbina.ru> References: <200903011426.n21EQOdp045591@svn.freebsd.org> <200903021015.51292.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <200903021015.51292.jhb@freebsd.org> User-Agent: Mutt/1.5.19 (2009-01-05) 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 18:34:11 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 02, 2009 at 10:15:50AM -0500, John Baldwin wrote: > 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 > >=20 > > Log: > > Fix range-check error introduced in r182292. Also do not do anything > > if all processors in the map are not available, simply return. >=20 > I think the ncpus =3D=3D 0 case is arguably a panic offense FWIW. It wou= ld be a=20 > bug in the calling code for that to ever happen. >=20 =09 I think you are right, I will make changes and test it. --=20 Have fun! chd --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkmsIRMACgkQ0t2Tb3OO/O1IZwCfUmPjIDpzzIxS7YyOr0hT07ZD R+sAn0Qebgj8uME/l/WwIZXUPOQR/JWg =S/Hh -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--