- Set SW_PREEMPT when we preempt in critical_exit().

Approved by:	re
This commit is contained in:
jeff 2007-08-03 23:35:35 +00:00
parent e8377e738c
commit bfe5819efe

View File

@ -192,7 +192,7 @@ critical_exit(void)
thread_lock(td);
td->td_critnest--;
SCHED_STAT_INC(switch_owepreempt);
mi_switch(SW_INVOL, NULL);
mi_switch(SW_INVOL|SW_PREEMPT, NULL);
thread_unlock(td);
}
} else