]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Drop the global kernel linker lock while executing the sysinit's for a
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 23 Feb 2007 19:46:59 +0000 (19:46 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 23 Feb 2007 19:46:59 +0000 (19:46 +0000)
commit498eccc9194a512ed10474a8a8b2350420274927
treed87f1348e6d4f24a18293aca216ffc2dbfc4c1f3
parent0024ec11a6979a5431041cd486fc47d9f29ffb60
Drop the global kernel linker lock while executing the sysinit's for a
freshly-loaded kernel module.  To avoid various unload races, hide linker
files whose sysinit's are being run from userland so that they can't be
kldunloaded until after all the sysinit's have finished.

Tested by: gallatin
sys/kern/kern_linker.c