diff options
Diffstat (limited to 'sys/kern/kern_subr.c')
| -rw-r--r-- | sys/kern/kern_subr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index 931a893f0025..a078b11c402b 100644 --- a/sys/kern/kern_subr.c +++ b/sys/kern/kern_subr.c @@ -441,8 +441,7 @@ uio_yield(void) mtx_lock_spin(&sched_lock); DROP_GIANT(); sched_prio(td, td->td_ksegrp->kg_user_pri); /* XXXKSE */ - td->td_proc->p_stats->p_ru.ru_nivcsw++; - mi_switch(); + mi_switch(SW_INVOL); mtx_unlock_spin(&sched_lock); PICKUP_GIANT(); } |
