Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2009 21:10:28 +0300
From:      Chagin Dmitry <dchagin@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r189232 - head/sys/kern
Message-ID:  <20090302181028.GA10447@dchagin.static.corbina.ru>
In-Reply-To: <200903021015.51292.jhb@freebsd.org>
References:  <200903011426.n21EQOdp045591@svn.freebsd.org> <200903021015.51292.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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
> > 
> > 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.
> 

	
I think you are right, I will make changes and test it.

-- 
Have fun!
chd

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

iEYEARECAAYFAkmsIRMACgkQ0t2Tb3OO/O1IZwCfUmPjIDpzzIxS7YyOr0hT07ZD
R+sAn0Qebgj8uME/l/WwIZXUPOQR/JWg
=S/Hh
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090302181028.GA10447>