summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_zeroidle.c
Commit message (Collapse)AuthorAgeFilesLines
* KSE Milestone 2julian2001-09-121-4/+4
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* Process priority is locked by the sched_lock, not the proc lock.jhb2001-09-011-2/+2
|
* Implement idle zeroing of pages. I've been tinkering with thispeter2001-08-251-72/+98
| | | | | | | | | | | | | | on and off since John Dyson left his work-in-progress. It is off by default for now. sysctl vm.zeroidle_enable=1 to turn it on. There are some hacks here to deal with the present lack of preemption - we yield after doing a small number of pages since we wont preempt otherwise. This is basically Matt's algorithm [with hysteresis] with an idle process to call it in a similar way it used to be called from the idle loop. I cleaned up the includes a fair bit here too.
* The i386-specific includes in this file were "fixed" by bracketing them withbenno2001-07-151-3/+3
| | | | | | | #ifndef __alpha__. Fix this for the rest of the world by turning it into #ifdef __i386__. Reviewed by: obrien
* Apply field bandages to the includes so compiles happen on alpha.mjacob2001-07-051-0/+6
|
* Move vm_page_zero_idle() from machine-dependant sections to adillon2001-07-051-0/+117
machine-independant source file, vm/vm_zeroidle.c. It was exactly the same for all platforms and updating them all was getting annoying.
OpenPOWER on IntegriCloud