set ke_bound to NULL when kse owner thread becomes runnable.
Reviewed by: julian (mentor)
This commit is contained in:
parent
0b024d3643
commit
5da2b58aeb
@ -359,6 +359,7 @@ setrunqueue(struct thread *td)
|
||||
KASSERT((td->td_kse != NULL),
|
||||
("queueing BAD thread to run queue"));
|
||||
ke = td->td_kse;
|
||||
ke->ke_bound = NULL;
|
||||
if (ke->ke_flags & KEF_ONLOANQ) {
|
||||
ke->ke_flags &= ~KEF_ONLOANQ;
|
||||
TAILQ_REMOVE(&kg->kg_lq, ke, ke_kgrlist);
|
||||
|
Loading…
Reference in New Issue
Block a user