cvs commit: src/sys/kern kern_linker.c

Andrew Gallatin gallatin at cs.duke.edu
Mon Feb 26 12:34:28 UTC 2007


John Baldwin [jhb at 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



More information about the cvs-src mailing list