Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2009 10:15:50 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Dmitry Chagin <dchagin@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:  <200903021015.51292.jhb@freebsd.org>
In-Reply-To: <200903011426.n21EQOdp045591@svn.freebsd.org>
References:  <200903011426.n21EQOdp045591@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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