Re: tcp_isn_tick() / dummynet() callout madness ?

[ Available lists | Index of freebsd-current | Month of Jan 2005 | Week of 31 Jan 2005 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Poul-Henning Kamp <phk@phk.freebsd.dk>
Date
31 Jan 2005 06:34:50
Subject
Re: tcp_isn_tick() / dummynet() callout madness ?
Message-ID
84537.1107153288@critter.freebsd.dk

In reply to

[ Hide this part ]
In message <20050130191410.R62670@odysseus.silby.com>, Mike Silbersack writes:

One of the things I would like to see is for the callout api to gain
a mutex pointer.

If the pointer is not null, a mtx_trylock() is atempted, if it fails
a taskq is used to execute this callout, otherwise the function is used
as usual.

--
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.


Elapsed time: 0.120 seconds