diff options
author | julian <julian@FreeBSD.org> | 2004-10-10 05:19:22 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2004-10-10 05:19:22 +0000 |
commit | 30d2ba06b99cf66c2da285f84cfe8045f629d2ad (patch) | |
tree | dabb67b74f5c5fd95d88007d4b2f1d1adc29fbaf | |
parent | 8c3d54b9e41b6b23588d44a1b927c9cf8ce9c681 (diff) | |
download | FreeBSD-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
-rw-r--r-- | sys/kern/kern_switch.c | 1 |
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); } /* |