PERFORCE change 104027 for review

Roman Divacky rdivacky at FreeBSD.org
Tue Aug 15 13:56:06 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=104027

Change 104027 by rdivacky at rdivacky_witten on 2006/08/15 13:55:05

	Extend the coverage of PROC_LOCK to cover wakeup(&p->p_emuldata);
	
	Pointed out by: jhb

Affected files ...

.. //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_emul.c#8 edit

Differences ...

==== //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_emul.c#8 (text+ko) ====

@@ -136,9 +136,9 @@
 	   	EMUL_SHARED_WUNLOCK(&emul_shared_lock);
 
 		p = pfind(child);
-		PROC_UNLOCK(p);
 		/* we might have a sleeping linux_schedtail */
 		wakeup(&p->p_emuldata);
+		PROC_UNLOCK(p);
 	} else
 	   	EMUL_UNLOCK(&emul_lock);
 


More information about the p4-projects mailing list