diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2004-01-25 03:54:52 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2004-01-25 03:54:52 +0000 |
| commit | 29bcc4514f48628e382391fba201db59745d2d0e (patch) | |
| tree | 5db1ead5d1c75b7e2ece1d370fa6708964bf49f8 /sys/vm | |
| parent | 8dc10be885b3572d3e237d62efef0af9a78da183 (diff) | |
Notes
Diffstat (limited to 'sys/vm')
| -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 9dc04190c98d2..863804a7ff490 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; } |
