From owner-freebsd-arch@FreeBSD.ORG Sun Sep 26 17:26:35 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 DAEC116A4CE for ; Sun, 26 Sep 2004 17:26:35 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8229643D48 for ; Sun, 26 Sep 2004 17:26:35 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id i8QHNYRr067513; Sun, 26 Sep 2004 11:23:35 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 26 Sep 2004 11:24:43 -0600 (MDT) Message-Id: <20040926.112443.96451447.imp@bsdimp.com> To: phk@phk.freebsd.dk From: "M. Warner Losh" In-Reply-To: <41458.1096016465@critter.freebsd.dk> References: <41458.1096016465@critter.freebsd.dk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: arch@freebsd.org Subject: Re: I'm counting my threads, one, two, three, four, five... [1] 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: Sun, 26 Sep 2004 17:26:36 -0000 In message: <41458.1096016465@critter.freebsd.dk> "Poul-Henning Kamp" writes: : I belive this gives us the handle we need to unload drivers and remove : hardware without panicing in the lower layers of the kernel. The : higher layers may still have a thing or two to learn in this respect. I've been extremely worried about the dev interface into the driver for a long time. This proposal looks excellent, and I can't think of anything else to add to it. It is good to see all the concerns in this area you and I have talked about over the years appear to be addressed by this. The biggest problem now is that I need to address the device_t level locking. I think with network layer locking and dev_t locking being under control, it is close to time to tackle it. The other big problem may happen in the device detach routines of bus drivers not being happy with new-found sleeps. However, these two problems always existed :-( Well done! Warner