Date: Mon, 14 Jan 2013 12:55:46 -0500 From: John Baldwin <jhb@freebsd.org> To: Alexander Motin <mav@freebsd.org> Cc: Adrian Chadd <adrian@freebsd.org>, src-committers@freebsd.org, Andre Oppermann <andre@freebsd.org>, Alan Cox <alc@rice.edu>, "Jayachandran C." <jchandra@freebsd.org>, svn-src-all@freebsd.org, Alfred Perlstein <bright@mu.org>, Oleksandr Tymoshenko <gonzo@bluezbox.com>, freebsd-arch@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r243631 - in head/sys: kern sys Message-ID: <201301141255.46994.jhb@freebsd.org> In-Reply-To: <50F4297F.8050708@FreeBSD.org> References: <201211272119.qARLJxXV061083@svn.freebsd.org> <50F41F8C.5030900@freebsd.org> <50F4297F.8050708@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301141255.46994.jhb>