Re: Expensive timeout(9) function ?

From: Doug White <dwhite_at_gumbysoft.com>
Date: Sun, 4 Jan 2004 23:27:25 -0800 (PST)
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
Received on Sun Jan 04 2004 - 22:27:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:36 UTC