From owner-freebsd-arch@FreeBSD.ORG Fri Sep 30 12:57:11 2005 Return-Path: X-Original-To: arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AC0816A41F; Fri, 30 Sep 2005 12:57:11 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22D2643D48; Fri, 30 Sep 2005 12:57:11 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 8593FBC96; Fri, 30 Sep 2005 12:57:09 +0000 (UTC) To: Robert Watson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 30 Sep 2005 13:47:36 BST." <20050930134526.R71864@fledge.watson.org> Date: Fri, 30 Sep 2005 14:57:08 +0200 Message-ID: <32249.1128085028@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: arch@FreeBSD.org, Gleb Smirnoff , net@FreeBSD.org Subject: Re: [REVIEW/TEST] polling(4) changes 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: Fri, 30 Sep 2005 12:57:11 -0000 In message <20050930134526.R71864@fledge.watson.org>, Robert Watson writes: >On Fri, 30 Sep 2005, Poul-Henning Kamp wrote: > >> I still think we should stop having this network-centric view of polling >> and implement _real_ *device* polling, so that other device types can >> use it as well. > >While I agree that we should offer polling to non-network device drivers >also, I think it's worth observing that the network awareness of our >current polling code has some interesting advantages. [...] None of which could not be implemented on top of a general polling facility, and some of which makes polling unusable with high end networking hardware like a 8x1Gige card where all ports are handled by the same interrupt. Anyway, I just wanted to make the point, not start a long discussion. -- 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.