Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2007 07:34:21 -0500
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_linker.c
Message-ID:  <20070226073421.A37968@grasshopper.cs.duke.edu>
In-Reply-To: <200702231947.l1NJl04a073788@repoman.freebsd.org>; from jhb@FreeBSD.org on Fri, Feb 23, 2007 at 07:46:59PM %2B0000
References:  <200702231947.l1NJl04a073788@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070226073421.A37968>