summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_turnstile.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2004-09-01 02:11:28 +0000
committerjulian <julian@FreeBSD.org>2004-09-01 02:11:28 +0000
commite9d9514975605045da565470477ceafa13f6174b (patch)
tree16691683be7649ae0915de2c1fa1995b931091a3 /sys/kern/subr_turnstile.c
parenteeddbfb0fa1e4bef7bff6ff83926b674f7d9e29c (diff)
downloadFreeBSD-src-e9d9514975605045da565470477ceafa13f6174b.zip
FreeBSD-src-e9d9514975605045da565470477ceafa13f6174b.tar.gz
Give setrunqueue() and sched_add() more of a clue as to
where they are coming from and what is expected from them. MFC after: 2 days
Diffstat (limited to 'sys/kern/subr_turnstile.c')
-rw-r--r--sys/kern/subr_turnstile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_turnstile.c b/sys/kern/subr_turnstile.c
index c983379..58f9c44 100644
--- a/sys/kern/subr_turnstile.c
+++ b/sys/kern/subr_turnstile.c
@@ -736,7 +736,7 @@ turnstile_unpend(struct turnstile *ts)
td->td_lockname = NULL;
TD_CLR_LOCK(td);
MPASS(TD_CAN_RUN(td));
- setrunqueue(td);
+ setrunqueue(td, SRQ_BORING);
} else {
td->td_flags |= TDF_TSNOBLOCK;
MPASS(TD_IS_RUNNING(td) || TD_ON_RUNQ(td));
OpenPOWER on IntegriCloud