PERFORCE change 104051 for review
Roman Divacky
rdivacky at FreeBSD.org
Tue Aug 15 16:38:25 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=104051
Change 104051 by rdivacky at rdivacky_witten on 2006/08/15 16:35:44
reverse the order of locking
Affected files ...
.. //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_emul.c#10 edit
Differences ...
==== //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_emul.c#10 (text+ko) ====
@@ -100,8 +100,8 @@
if (p == NULL)
panic("process not found in proc_init\n");
p->p_emuldata = em;
+ PROC_UNLOCK(p);
EMUL_LOCK(&emul_lock);
- PROC_UNLOCK(p);
} else {
/* lookup the old one */
em = em_find(td->td_proc, EMUL_UNLOCKED);
More information about the p4-projects
mailing list