diff options
Diffstat (limited to 'sys/vm/vm_zeroidle.c')
-rw-r--r-- | sys/vm/vm_zeroidle.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/vm/vm_zeroidle.c b/sys/vm/vm_zeroidle.c index 9dc0419..863804a 100644 --- a/sys/vm/vm_zeroidle.c +++ b/sys/vm/vm_zeroidle.c @@ -155,8 +155,7 @@ vm_pagezero(void) pages += vm_page_zero_idle(); if (pages > idlezero_maxrun || sched_runnable()) { mtx_lock_spin(&sched_lock); - td->td_proc->p_stats->p_ru.ru_nvcsw++; - mi_switch(); + mi_switch(SW_VOL); mtx_unlock_spin(&sched_lock); pages = 0; } |