On Sunday 03 August 2008 09:33:45 am Konstantin Belousov wrote: > kib 2008-08-03 13:33:45 UTC > > FreeBSD src repository > > Modified files: > sys/kern link_elf.c link_elf_obj.c > Log: > SVN rev 181235 on 2008-08-03 13:33:45Z by kib > > Calling linker_load_dependencies() while holding the module' > vnode lock may cause a LOR between kld_sx lock and vnode lock. > linker_load_dependencies() drops kld_sx, and another thread may attempt > to load the same kld. > > Reported and tested by: pjd > MFC after: 1 week
If it is safe to drop the vnode lock here, is there any reason we can't just drop it earlier and not bother reacquiring it? -- John Baldwin _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"
