NetBSD/sys/uvm
thorpej a7d0570e67 First sweep at scheduler state cleanup. Collect MI scheduler
state into global and per-CPU scheduler state:

	- Global state: sched_qs (run queues), sched_whichqs (bitmap
	  of non-empty run queues), sched_slpque (sleep queues).
	  NOTE: These may collectively move into a struct schedstate
	  at some point in the future.

	- Per-CPU state, struct schedstate_percpu: spc_runtime
	  (time process on this CPU started running), spc_flags
	  (replaces struct proc's p_schedflags), and
	  spc_curpriority (usrpri of processes on this CPU).

	- Every platform must now supply a struct cpu_info and
	  a curcpu() macro.  Simplify existing cpu_info declarations
	  where appropriate.

	- All references to per-CPU scheduler state now made through
	  curcpu().  NOTE: this will likely be adjusted in the future
	  after further changes to struct proc are made.

Tested on i386 and Alpha.  Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.
2000-05-26 21:19:19 +00:00
..
Makefile
uvm_amap_i.h eliminate the PMAP_NEW option by making it required for all ports. 1999-09-12 01:16:55 +00:00
uvm_amap.c eliminate the PMAP_NEW option by making it required for all ports. 1999-09-12 01:16:55 +00:00
uvm_amap.h Don't bother returning the "slot" number from amap_add(): 1999-07-07 05:31:40 +00:00
uvm_anon.c add support for ``swapctl -d'' (removing swap space). 2000-01-11 06:57:49 +00:00
uvm_anon.h add support for ``swapctl -d'' (removing swap space). 2000-01-11 06:57:49 +00:00
uvm_aobj.c NULL != 0 2000-05-19 04:34:39 +00:00
uvm_aobj.h add support for ``swapctl -d'' (removing swap space). 2000-01-11 06:57:49 +00:00
uvm_ddb.h Protect prototypes, certain macros, and inlines from userland. 1999-06-21 17:25:11 +00:00
uvm_device.c remove the "shareprot" pagerop. it's not needed anymore since 2000-04-03 07:35:23 +00:00
uvm_device.h Protect prototypes, certain macros, and inlines from userland. 1999-06-21 17:25:11 +00:00
uvm_extern.h Changes necessary to implement pre-zero'ing of pages in the idle loop: 2000-04-24 17:12:00 +00:00
uvm_fault_i.h add support for ``swapctl -d'' (removing swap space). 2000-01-11 06:57:49 +00:00
uvm_fault.c Use UVM_PGA_ZERO in the promote-zero-fault case of uvm_fault(). 2000-04-10 01:17:41 +00:00
uvm_fault.h Protect prototypes, certain macros, and inlines from userland. 1999-06-21 17:25:11 +00:00
uvm_glue.c Introduce a new process state distinct from SRUN called SONPROC 2000-05-26 00:36:42 +00:00
uvm_glue.h Protect prototypes, certain macros, and inlines from userland. 1999-06-21 17:25:11 +00:00
uvm_init.c Don't need to include <sys/conf.h> here. 2000-03-29 03:43:33 +00:00
uvm_io.c
uvm_km.c __predict_false() out-of-resource conditions and DIAGNOSTIC error checks. 2000-05-08 23:10:20 +00:00
uvm_km.h Protect prototypes, certain macros, and inlines from userland. 1999-06-21 17:25:11 +00:00
uvm_loan.c Use UVM_PGA_ZERO in a few (easy) places. 2000-04-10 00:32:46 +00:00
uvm_loan.h Protect prototypes, certain macros, and inlines from userland. 1999-06-21 17:25:11 +00:00
uvm_map_i.h uvm_map_setup(): We almost ever set up an interrupt-safe map, but we 2000-05-08 22:59:35 +00:00
uvm_map.c Clean up some indentation lossage in uvm_map_extract(). 2000-05-19 17:43:55 +00:00
uvm_map.h Remove redundant decl for uvmspace_fork() - it's in <uvm/uvm_extern.h>. 2000-03-29 04:05:47 +00:00
uvm_meter.c Introduce a new process state distinct from SRUN called SONPROC 2000-05-26 00:36:42 +00:00
uvm_mmap.c - Move the comment, which describes that calling the function 2000-05-23 02:19:20 +00:00
uvm_object.h Define a new kernel object type, "intrsafe", which are used for objects 1999-05-25 20:30:08 +00:00
uvm_page_i.h __predict_false() DIAGNOSTIC error checks. 2000-05-08 23:11:53 +00:00
uvm_page.c First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
uvm_page.h Changes necessary to implement pre-zero'ing of pages in the idle loop: 2000-04-24 17:12:00 +00:00
uvm_pager_i.h __predict_false() an error check. 2000-05-08 23:13:42 +00:00
uvm_pager.c Remove VM_PROT_EXECUTE from the permissions used to map the page 2000-05-20 03:36:06 +00:00
uvm_pager.h Tell uvm_pagermapin() the direction of the I/O so that it can map 2000-05-19 03:45:04 +00:00
uvm_pdaemon.c Const poison uvm_wait(). 1999-11-04 21:51:42 +00:00
uvm_pdaemon.h Const poison uvm_wait(). 1999-11-04 21:51:42 +00:00
uvm_pglist.c Clean up a comment. 2000-05-20 19:54:01 +00:00
uvm_stat.c add support for ``swapctl -d'' (removing swap space). 2000-01-11 06:57:49 +00:00
uvm_stat.h Finish previous. 2000-04-11 08:12:14 +00:00
uvm_swap.c Tell uvm_pagermapin() the direction of the I/O so that it can map 2000-05-19 03:45:04 +00:00
uvm_swap.h add support for ``swapctl -d'' (removing swap space). 2000-01-11 06:57:49 +00:00
uvm_unix.c Remove more register declarations. 2000-03-30 12:31:50 +00:00
uvm_user.c
uvm_vnode.c Tell uvm_pagermapin() the direction of the I/O so that it can map 2000-05-19 03:45:04 +00:00
uvm_vnode.h Merge parts of chs-ubc2 into the trunk: 2000-03-26 20:54:45 +00:00
uvm.h Changes necessary to implement pre-zero'ing of pages in the idle loop: 2000-04-24 17:12:00 +00:00