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:
parent
9b036bdf5a
commit
042b7b1af0
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user