diff reduction from KSE to keep WW-III from happenning on -current

This commit is contained in:
julian 2002-05-29 20:40:50 +00:00
parent d3e6471535
commit 200eddc848

View File

@ -397,8 +397,9 @@ ithread_schedule(struct ithd *ithread, int do_switch)
setrunqueue(curthread);
curthread->td_proc->p_stats->p_ru.ru_nivcsw++;
mi_switch();
} else
} else {
curthread->td_kse->ke_flags |= KEF_NEEDRESCHED;
}
} else {
CTR4(KTR_INTR, "%s: pid %d: it_need %d, state %d",
__func__, p->p_pid, ithread->it_need, p->p_stat);