From owner-cvs-all@FreeBSD.ORG Mon Feb 26 12:34:28 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C3ED16A402; Mon, 26 Feb 2007 12:34:28 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.freebsd.org (Postfix) with ESMTP id E3E6713C46B; Mon, 26 Feb 2007 12:34:27 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.14.0/8.14.0) with ESMTP id l1QCYRBJ001128 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Feb 2007 07:34:27 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id l1QCYMA2037984; Mon, 26 Feb 2007 07:34:22 -0500 (EST) (envelope-from gallatin) Date: Mon, 26 Feb 2007 07:34:21 -0500 From: Andrew Gallatin To: John Baldwin Message-ID: <20070226073421.A37968@grasshopper.cs.duke.edu> References: <200702231947.l1NJl04a073788@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200702231947.l1NJl04a073788@repoman.freebsd.org>; from jhb@FreeBSD.org on Fri, Feb 23, 2007 at 07:46:59PM +0000 X-Operating-System: FreeBSD 4.9-RELEASE-p1 on an i386 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_linker.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 12:34:28 -0000 John Baldwin [jhb@FreeBSD.org] wrote: > jhb 2007-02-23 19:46:59 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_linker.c > Log: > Drop the global kernel linker lock while executing the sysinit's for a > freshly-loaded kernel module. To avoid various unload races, hide linker The best part is that restores the ability safe for a driver to use firmware_get() from its attach() routine without deadlocking. Thank you! Drew