Expensive timeout(9) function ?
dwhite at gumbysoft.com
Sun Jan 4 23:27:26 PST 2004
On Mon, 5 Jan 2004, Bjoern A. Zeeb wrote:
> On Sun, 4 Jan 2004, Doug White wrote:
> > > what reports do you expect with the
> > >
> > > "Expensive timeout(9) function"
> > >
> > > message ? Why do we see it ?
> > You compiled your kernel with 'options DIAGNOSTIC'. Unless you have an
> > explicit reason for doing so, you should not use this option.
> I do have.
> Some people added the code for a special purpose I guess - most likely to
> identify something ? So the question is what's the purpose and
> if people who compile with DIAGNOSTIC and see it should they report it
> and if so what should they report ?
I suspect its some code to check for functions that abuse timeouts for
long-lasting operations, since no other timeouts can fire while they are
called (I think). You'll have to check the commit logs to see exactly why
that was added.
In any case, unless you're having a problem, we're not interested in any
reports of any abnormal behavior when running with DIAGNOSTIC enabled.
Use At Your Own Risk.
Doug White | FreeBSD: The Power to Serve
dwhite at gumbysoft.com | www.FreeBSD.org
More information about the freebsd-current