svn commit: r243631 - in head/sys: kern sys

Alfred Perlstein bright at mu.org
Mon Jan 14 19:33:12 UTC 2013


On 1/14/13 12:55 PM, John Baldwin wrote:
> On Monday, January 14, 2013 10:51:27 am Alexander Motin wrote:
>> As I've actually written, there are two different things:
>>   ncallout -- number of preallocated callout structures for purposes of
>> timeout() calls. That is a legacy API that is probably not very much
>> used now, so that value don't need to be too big. But that allocation is
>> static and if it will ever be exhausted system will panic. That is why
>> it was set quite high. The right way now would be to analyze where that
>> API is still used and estimate the really required number.
> FYI, I have slowly been working through the tree fixing users of timeout()
> to use callout_*() instead.
>
We would surely be in a bad place had you not taken so much time to fix 
nearly all those instances.  It is very much appreciated.

-Alfred


More information about the svn-src-all mailing list