summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_switch.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2004-10-10 05:19:22 +0000
committerjulian <julian@FreeBSD.org>2004-10-10 05:19:22 +0000
commit30d2ba06b99cf66c2da285f84cfe8045f629d2ad (patch)
treedabb67b74f5c5fd95d88007d4b2f1d1adc29fbaf /sys/kern/kern_switch.c
parent8c3d54b9e41b6b23588d44a1b927c9cf8ce9c681 (diff)
downloadFreeBSD-src-30d2ba06b99cf66c2da285f84cfe8045f629d2ad.zip
FreeBSD-src-30d2ba06b99cf66c2da285f84cfe8045f629d2ad.tar.gz
Don't release the slot twice.. sched_rem() has already done it.
Submitted by: stephan uphoff (ups at tree dot com) MFC after: 3 days
Diffstat (limited to 'sys/kern/kern_switch.c')
-rw-r--r--sys/kern/kern_switch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c
index e578424..b54552f 100644
--- a/sys/kern/kern_switch.c
+++ b/sys/kern/kern_switch.c
@@ -372,7 +372,6 @@ setrunqueue(struct thread *td, int flags)
sched_rem(tda);
tda = kg->kg_last_assigned =
TAILQ_PREV(tda, threadqueue, td_runq);
- SLOT_RELEASE(kg);
}
/*
OpenPOWER on IntegriCloud