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
This commit is contained in:
Julian Elischer 2004-10-10 05:19:22 +00:00
parent 9b036bdf5a
commit 042b7b1af0

View File

@ -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);
}
/*