From owner-freebsd-current@FreeBSD.ORG Mon Jan 31 06:34:50 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98CC516A4CE; Mon, 31 Jan 2005 06:34:50 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8B4B43D4C; Mon, 31 Jan 2005 06:34:49 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id j0V6Ym3h084538; Mon, 31 Jan 2005 07:34:48 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Mike Silbersack From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 30 Jan 2005 19:19:47 CST." <20050130191410.R62670@odysseus.silby.com> Date: Mon, 31 Jan 2005 07:34:48 +0100 Message-ID: <84537.1107153288@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: Robert Watson cc: current@FreeBSD.org cc: Colin Percival Subject: Re: tcp_isn_tick() / dummynet() callout madness ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2005 06:34:50 -0000 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.