From 2d0231f5da6b21c8d9e57e77a8040a09bda135db Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Wed, 29 May 2002 20:40:50 +0000 Subject: [PATCH] diff reduction from KSE to keep WW-III from happenning on -current --- sys/kern/kern_intr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c index a7c3bd1d4f7c..d65dc8228c03 100644 --- a/sys/kern/kern_intr.c +++ b/sys/kern/kern_intr.c @@ -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);