Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jan 2005 07:34:48 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Mike Silbersack <silby@silby.com>
Cc:        Colin Percival <cperciva@FreeBSD.org>
Subject:   Re: tcp_isn_tick() / dummynet() callout madness ? 
Message-ID:  <84537.1107153288@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 30 Jan 2005 19:19:47 CST." <20050130191410.R62670@odysseus.silby.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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