PERFORCE change 53910 for review

Julian Elischer julian at FreeBSD.org
Mon May 31 16:23:23 PDT 2004


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

Change 53910 by julian at julian_ref on 2004/05/31 16:22:57

	fix screwup in placement of a lock

Affected files ...

.. //depot/projects/nsched/sys/kern/sched_4bsd.c#12 edit

Differences ...

==== //depot/projects/nsched/sys/kern/sched_4bsd.c#12 (text+ko) ====

@@ -1072,12 +1072,12 @@
 		ke_first = TAILQ_FIRST(&zombie_kses);
 		if (ke_first)
 			TAILQ_INIT(&zombie_kses);
+		mtx_unlock_spin(&kse_zombie_lock);
 		while (ke_first) {
 			ke_next = TAILQ_NEXT(ke_first, ke_procq);
 			kse_free(ke_first);
 			ke_first = ke_next;
 		}
-		mtx_unlock_spin(&kse_zombie_lock);
 	}
 }
 


More information about the p4-projects mailing list