svn commit: r189232 - head/sys/kern
Chagin Dmitry
dchagin at freebsd.org
Mon Mar 2 10:34:10 PST 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20090302/95ec8e59/attachment.pgp
More information about the svn-src-all
mailing list