Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2006 16:36:45 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 104051 for review
Message-ID:  <200608151636.k7FGajUp015064@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=104051

Change 104051 by rdivacky@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608151636.k7FGajUp015064>