Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2002 09:43:37 -0700 (PDT)
From:      Jonathan Mini <mini@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 11124 for review
Message-ID:  <200205101643.g4AGhbK42620@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=11124

Change 11124 by mini@mini_stylus on 2002/05/10 09:43:14

	Don't lock and then immediately unlock sched_lock. This is an editing
	nit that shouldn't have gotten submitted in the first place.

Affected files ...

... //depot/projects/kse/sys/kern/kern_thread.c#46 edit

Differences ...

==== //depot/projects/kse/sys/kern/kern_thread.c#46 (text+ko) ====

@@ -129,10 +129,6 @@
 	}
 #endif
 
-	mtx_lock_spin(&sched_lock);
-
-	mtx_unlock_spin(&sched_lock);
-
 	/* Update counters. */
 	active_threads--;   /* XXXSMP */
 	cached_threads++;   /* XXXSMP */

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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