diff reduction from KSE to keep WW-III from happenning on -current
This commit is contained in:
parent
9424cbcf69
commit
2d0231f5da
@ -397,8 +397,9 @@ ithread_schedule(struct ithd *ithread, int do_switch)
|
|||||||
setrunqueue(curthread);
|
setrunqueue(curthread);
|
||||||
curthread->td_proc->p_stats->p_ru.ru_nivcsw++;
|
curthread->td_proc->p_stats->p_ru.ru_nivcsw++;
|
||||||
mi_switch();
|
mi_switch();
|
||||||
} else
|
} else {
|
||||||
curthread->td_kse->ke_flags |= KEF_NEEDRESCHED;
|
curthread->td_kse->ke_flags |= KEF_NEEDRESCHED;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
CTR4(KTR_INTR, "%s: pid %d: it_need %d, state %d",
|
CTR4(KTR_INTR, "%s: pid %d: it_need %d, state %d",
|
||||||
__func__, p->p_pid, ithread->it_need, p->p_stat);
|
__func__, p->p_pid, ithread->it_need, p->p_stat);
|
||||||
|
Loading…
Reference in New Issue
Block a user