Searched hist:137268 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.2-release/sys/vm/ | ||
H A D | vm_zeroidle.c | diff 137268 Fri Nov 05 19:14:02 MST 2004 jhb - Set the priority of the page zeroing thread using sched_prio() when the thread is created rather than adjusting the priority in the main function. (kthread_create() should probably take the initial priority as an argument.) - Only yield the CPU in the !PREEMPTION case if there are any other runnable threads. Yielding when there isn't anything else better to do just wastes time in pointless context switches (albeit while the system is idle.) |
Completed in 106 milliseconds