Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2004 16:23:21 -0700 (PDT)
From:      Julian Elischer <julian@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 53910 for review
Message-ID:  <200405312323.i4VNNLCt073102@repoman.freebsd.org>

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

Change 53910 by julian@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);
 	}
 }
 



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