Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Apr 2003 17:59:55 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Mike Silbersack <silby@silby.com>
Cc:        hackers@freebsd.org
Subject:   Re: "Expensive timeout(9) function..." 
Message-ID:  <36448.1049212795@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 01 Apr 2003 09:54:04 MDT." <20030401095201.O1612@odysseus.silby.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030401095201.O1612@odysseus.silby.com>, Mike Silbersack writes:
>
>
>On Tue, 1 Apr 2003, Yar Tikhiy wrote:
>
>> Thanks for your explanation!
>>
>> I hope this little thread will draw the attention of the
>> responsible or interested parties to the warnings ;-)
>>
>> --
>> Yar
>
>The _tick routines are not easy to fix, FWIW.  MII access functions are
>quite time consuming almost any way you look at it.

I'm not sure the _tick functions should even be called from a timeout().

In many ways it seems preferable to me to have then run sequentially
from a single thread, possibly via a task-queue.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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