Date: Sun, 30 Jan 2005 22:52:34 +0000 (GMT) From: Robert Watson <rwatson@FreeBSD.org> To: Mike Silbersack <silby@silby.com> Cc: Colin Percival <cperciva@freebsd.org> Subject: Re: tcp_isn_tick() / dummynet() callout madness ? Message-ID: <Pine.NEB.3.96L.1050130225100.15336M-100000@fledge.watson.org> In-Reply-To: <20050130151427.U59844@odysseus.silby.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 30 Jan 2005, Mike Silbersack wrote: > change to the callout API? Just a few places in the kernel account for > most of the use of callouts, so even if a rewrite of those would be > necessary, it should pay off. Well, part of the problem is that many callouts always re-register, and right now they're forced to pay a penalty for it. I almost wonder if we shouldn't add a new flag or method to swap the costs: register a recurring callout every (x) ticks, and you pay a cost to unregister it if the flag is set, and the callout is otherwise automatically rescheduled. Robert N M Watson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1050130225100.15336M-100000>