From owner-freebsd-arch@FreeBSD.ORG Mon May 22 14:02:05 2006 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 3C30916ABAD; Mon, 22 May 2006 14:02:05 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAAFF43D45; Mon, 22 May 2006 14:02:00 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id AF84446BEB; Mon, 22 May 2006 10:01:59 -0400 (EDT) Date: Mon, 22 May 2006 15:01:59 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Sergey Matveychuk In-Reply-To: <4471C2ED.3080703@FreeBSD.org> Message-ID: <20060522145953.I21787@fledge.watson.org> References: <20060522144542.T21787@fledge.watson.org> <4471C2ED.3080703@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: arch@FreeBSD.org, freebsd-usb@freebsd.org Subject: Re: Resend with subject: No more non-MPSAFE network device drivers, please! 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: Mon, 22 May 2006 14:02:15 -0000 On Mon, 22 May 2006, Sergey Matveychuk wrote: >> We have also discussed requiring that all network device drivers in the >> system for 7.0 be able to operate MPSAFE. This runs into some issues due >> to non-MPSAFEty of some key device driver subsystems, including Firewire, >> USB, and the TTY subsystem. Poul-Henning is in the process of working on >> MPSAFE tty support, and I hope that people will step up to the plate to >> work on the remaining subsystems in the near future. That way we will be >> able to remove the compatibility code, and continue cleanup and >> optimization work. > > Looks like there are no developers right now who could rewrite USB stack to > be MPSAFE. So all USB-Ethernet are broken. Yes, hence this being something we are discussing, as opposed to implementing. In order for us to get to a world entirely without Giant-compatibility for network device drivers, we need to address the MPSAFEty of those major subsystems. The goal of this message was to make sure we don't start growing new major subsystems and network device drivers -- i.e., that we're into the realm of monotonically decreasing numbers of non-MPSAFE network device drivers. Specifically, I don't want to see any more PCI network device drivers that require Giant! Per discussion at the developer summit, a significant rewrite of the USB code is needed to make it MPSAFE. Volunteers welcome. Robert N M Watson