svn commit: r189232 - head/sys/kern

John Baldwin jhb at freebsd.org
Mon Mar 2 08:11:43 PST 2009


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


More information about the svn-src-head mailing list