From owner-freebsd-arch@FreeBSD.ORG Sun Dec 2 06:38:30 2007 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4358216A474 for ; Sun, 2 Dec 2007 06:38:30 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by mx1.freebsd.org (Postfix) with ESMTP id C287B13C468 for ; Sun, 2 Dec 2007 06:38:29 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by mu-out-0910.google.com with SMTP id i10so925659mue for ; Sat, 01 Dec 2007 22:38:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=llqoOijPjF4UjmBckqMgCiTZSW9nixnCmiaa9rTyOhY=; b=W9bejMeN6nOKgNiF1rhTbEBOHqnWoJOXpVHCZburoHIIseo6ser4V8ZZqtu6C/64eGxTSiirSqJeOxFZvEyOcLcVauaZ+xihlCrG6NaTKnZUt2Ua4uPfLjb5xZG3lu/gKYS8bowwu1dXV6Ari4ul0zEVmI64knpvWwiIycLUmso= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=JcaYXPGiz3HZzAiUogN/UwSK2ZEcMZoHWy9ASeWsdqoOOzVFtAINKcroL/YOmj5NOXbNXAnZbe61zyHo+haGtypPZ+ZD7dQqdAg22zb1ABiWDEAgLmDzPpMwaAl1MaZdlANidE9tsFJlshDeUaRfBCnV5hrYVt9ZXl3BGtmspaQ= Received: by 10.86.76.16 with SMTP id y16mr9155916fga.1196577080229; Sat, 01 Dec 2007 22:31:20 -0800 (PST) Received: by 10.86.28.19 with HTTP; Sat, 1 Dec 2007 22:31:20 -0800 (PST) Message-ID: <3bbf2fe10712012231p2945111cma2faed2299167d3a@mail.gmail.com> Date: Sun, 2 Dec 2007 07:31:20 +0100 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Poul-Henning Kamp" In-Reply-To: <15391.1196547545@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <15391.1196547545@critter.freebsd.dk> X-Google-Sender-Auth: 89ef2c22ac7d2426 Cc: arch@freebsd.org Subject: Re: New "timeout" api, to replace callout X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2007 06:38:30 -0000 2007/12/1, Poul-Henning Kamp : > > Here is my proposed new timeout API for 8.x. > > The primary objective is to make it possible to have multiple timeout > "providers" of possibly different kind, so that we can have per-cpu > or per-net-stack timeout handing. I have a question so. Basically, do you plan to have in the so called "per-net-stack" timeout group all these timeouts which doesn't necessarilly want to benefit from CPU affinity? I would expect a tcp callout, which wants to exploit CPU affinity, to be in the "per-cpu0" group (0 is not a typo, it is expressing even on what CPU to run). Is this your idea also? I'm busy with my graduation process in these days, but I hope to came back to you with a better review of this header in a couple of days. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein