summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-11-05 19:14:02 +0000
committerjhb <jhb@FreeBSD.org>2004-11-05 19:14:02 +0000
commit88680af3b70fdde865263d8442115ae597f65d88 (patch)
treeb735c8fedf5e152a692473c69c30ba49d026453f /sys/alpha
parentc19696c19734f3afbd37926757495a09fab30cd6 (diff)
downloadFreeBSD-src-88680af3b70fdde865263d8442115ae597f65d88.zip
FreeBSD-src-88680af3b70fdde865263d8442115ae597f65d88.tar.gz
- 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.)
Diffstat (limited to 'sys/alpha')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud