From owner-freebsd-arch@FreeBSD.ORG Wed May 26 14:30:42 2004 Return-Path: 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 264D916A4CE for ; Wed, 26 May 2004 14:30:42 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B81E543D31 for ; Wed, 26 May 2004 14:30:41 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i4QLStZI026288; Wed, 26 May 2004 17:28:55 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i4QLSnc6026284; Wed, 26 May 2004 17:28:55 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Wed, 26 May 2004 17:28:49 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Julian Elischer In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@freebsd.org cc: Alan Cox Subject: Re: Network Stack Locking X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 21:30:42 -0000 On Tue, 25 May 2004, Julian Elischer wrote: > This is how netgraph works. (particularly in 5.x) It's also worth pointing out, for those looking at various approaches, that NetBSD is currently discussing continuation primitives on the tech-kern mailing list (I seem to have gotten added to the CC line lately, which I don't object to :-). You can also argue that things like bio's, PCB's, et al, are implementations of the continuation philosophy, just lacking a abstracted primitive. They maintain state to be picked up by a context but discarding the stack. Callouts and callbacks are used to perform scheduling, however, rather than the scheduler explicitly. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research