PERFORCE change 134245 for review
John Birrell
jb at FreeBSD.org
Sun Jan 27 13:48:33 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=134245
Change 134245 by jb at jb_freebsd1 on 2008/01/27 21:47:41
The linker lock here is private to code in this file. It is
never a problem with it being locked when any other combination
of locks are already obtained or even if *no* other locks are
obtained. Use SX_NOWITNESS to avoid bogus LOR reports.
Affected files ...
.. //depot/projects/dtrace/src/sys/kern/kern_linker.c#27 edit
Differences ...
==== //depot/projects/dtrace/src/sys/kern/kern_linker.c#27 (text+ko) ====
@@ -157,7 +157,7 @@
linker_init(void *arg)
{
- sx_init(&kld_sx, "kernel linker");
+ sx_init_flags(&kld_sx, "kernel linker", SX_NOWITNESS);
TAILQ_INIT(&classes);
TAILQ_INIT(&linker_files);
}
More information about the p4-projects
mailing list