summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2002-09-29 23:28:58 +0000
committerjulian <julian@FreeBSD.org>2002-09-29 23:28:58 +0000
commitfbf94f64b8cff8f35b9a4d4f76bfcef75adbc6b7 (patch)
tree2e937199117ff5de9fb4c8c15f16ca824aecc2c9
parentbac3b741a4e6fa8dd3e50a2a68c0519efc2fe0a7 (diff)
downloadFreeBSD-src-fbf94f64b8cff8f35b9a4d4f76bfcef75adbc6b7.zip
FreeBSD-src-fbf94f64b8cff8f35b9a4d4f76bfcef75adbc6b7.tar.gz
uh, commit all of the patch
-rw-r--r--sys/kern/kern_mutex.c1
-rw-r--r--sys/kern/subr_turnstile.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c
index 935ac79..6becc78 100644
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -766,6 +766,7 @@ _mtx_unlock_sleep(struct mtx *m, int opts, const char *file, int line)
mtx_unlock_spin(&sched_lock);
return;
}
+ setrunqueue(td1);
if (td->td_critnest == 1 && td1->td_priority < pri) {
#ifdef notyet
diff --git a/sys/kern/subr_turnstile.c b/sys/kern/subr_turnstile.c
index 935ac79..6becc78 100644
--- a/sys/kern/subr_turnstile.c
+++ b/sys/kern/subr_turnstile.c
@@ -766,6 +766,7 @@ _mtx_unlock_sleep(struct mtx *m, int opts, const char *file, int line)
mtx_unlock_spin(&sched_lock);
return;
}
+ setrunqueue(td1);
if (td->td_critnest == 1 && td1->td_priority < pri) {
#ifdef notyet
OpenPOWER on IntegriCloud