"Expensive timeout(9) function..."
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Apr 1 07:59:59 PST 2003
In message <20030401095201.O1612 at 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 at 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.
More information about the freebsd-hackers
mailing list