NetBSD/sys/uvm
thorpej 31fafb678f Support dynamic sizing of the page color bins. We also support
dynamically re-coloring pages; as machine-dependent code discovers
the size of the system's caches, it may call uvm_page_recolor() with
the new number of colors to use.  If the new mumber of colors is
smaller (or equal to) the current number of colors, then uvm_page_recolor()
is a no-op.

The system defaults to one bucket if machine-dependent code does not
initialize uvmexp.ncolors before uvm_page_init() is called.

Note that the number of color bins should be initialized to something
reasonable as early as possible -- for many early memory allocations,
we live with the consequences of the page choice for the lifetime of
the boot.
2001-05-02 01:22:19 +00:00
..
Makefile Rename VM_INHERIT_* to MAP_INHERIT_* and move them to sys/sys/mman.h as 2000-08-01 00:53:07 +00:00
uvm_amap_i.h lots of cleanup: 2000-11-25 06:27:59 +00:00
uvm_amap.c clean up DIAGNOSTIC checks, use KASSERT(). 2001-02-18 21:19:08 +00:00
uvm_amap.h clean up DIAGNOSTIC checks, use KASSERT(). 2001-02-18 21:19:08 +00:00
uvm_anon.c eliminate the VM_PAGER_* error codes in favor of the traditional E* codes. 2001-03-10 22:46:45 +00:00
uvm_anon.h when we fail to allocate anons to represent new swap space, 2000-12-27 09:17:04 +00:00
uvm_aobj.c eliminate the VM_PAGER_* error codes in favor of the traditional E* codes. 2001-03-10 22:46:45 +00:00
uvm_aobj.h
uvm_bio.c Sprinkle pmap_update() calls after calls to: 2001-04-24 04:30:50 +00:00
uvm_ddb.h STDC cleanup: extra token not allowed after #endif. 2001-04-27 00:14:47 +00:00
uvm_device.c Sprinkle pmap_update() calls after calls to: 2001-04-24 04:30:50 +00:00
uvm_device.h Don't silently truncate the voff_t offset to vaddr_t when passing it to 2000-05-28 10:21:55 +00:00
uvm_extern.h Support dynamic sizing of the page color bins. We also support 2001-05-02 01:22:19 +00:00
uvm_fault_i.h remove/move more mach vm header files: 2000-06-26 14:20:25 +00:00
uvm_fault.c Add a comment describing a problem. 2001-04-25 14:59:44 +00:00
uvm_fault.h remove/move more mach vm header files: 2000-06-26 14:20:25 +00:00
uvm_glue.c Sprinkle pmap_update() calls after calls to: 2001-04-24 04:30:50 +00:00
uvm_glue.h
uvm_init.c remove include of <vm/vm.h> 2000-06-27 17:29:17 +00:00
uvm_io.c eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
uvm_km.c Sprinkle pmap_update() calls after calls to: 2001-04-24 04:30:50 +00:00
uvm_km.h
uvm_loan.c fix locking problem noted by Jaromir Dolecek. also, add more comments 2001-04-10 00:53:21 +00:00
uvm_loan.h
uvm_map_i.h eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
uvm_map.c Implement page coloring, using a round-robin bucket selection 2001-04-29 04:23:20 +00:00
uvm_map.h eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
uvm_meter.c Implement page coloring, using a round-robin bucket selection 2001-04-29 04:23:20 +00:00
uvm_mmap.c eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
uvm_object.h add UBC memory-usage balancing. we track the number of pages in use for 2001-03-09 01:02:10 +00:00
uvm_page_i.h Page scanner improvements, behavior is actually a bit more like 2001-01-28 23:30:42 +00:00
uvm_page.c Support dynamic sizing of the page color bins. We also support 2001-05-02 01:22:19 +00:00
uvm_page.h Support dynamic sizing of the page color bins. We also support 2001-05-02 01:22:19 +00:00
uvm_pager_i.h lots of cleanup: 2000-11-25 06:27:59 +00:00
uvm_pager.c Sprinkle pmap_update() calls after calls to: 2001-04-24 04:30:50 +00:00
uvm_pager.h eliminate the VM_PAGER_* error codes in favor of the traditional E* codes. 2001-03-10 22:46:45 +00:00
uvm_param.h Support dynamic sizing of the page color bins. We also support 2001-05-02 01:22:19 +00:00
uvm_pdaemon.c eliminate the VM_PAGER_* error codes in favor of the traditional E* codes. 2001-03-10 22:46:45 +00:00
uvm_pdaemon.h
uvm_pglist.c Implement page coloring, using a round-robin bucket selection 2001-04-29 04:23:20 +00:00
uvm_pglist.h Support dynamic sizing of the page color bins. We also support 2001-05-02 01:22:19 +00:00
uvm_pmap.h Some spring cleaning. 2001-04-24 00:19:00 +00:00
uvm_prot.h <vm/vm_prot.h> becomes <uvm/uvm_prot.h> 2000-06-25 13:37:51 +00:00
uvm_stat.c add UBC memory-usage balancing. we track the number of pages in use for 2001-03-09 01:02:10 +00:00
uvm_stat.h allow ubchist to be printed from the uvmhist merging uvm_hist() 2001-02-04 10:55:58 +00:00
uvm_swap.c eliminate the VM_PAGER_* error codes in favor of the traditional E* codes. 2001-03-10 22:46:45 +00:00
uvm_swap.h
uvm_unix.c In sys_obreak(), the return value of atop() was being used to change 2001-03-19 02:25:33 +00:00
uvm_user.c eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
uvm_vnode.c eliminate the VM_PAGER_* error codes in favor of the traditional E* codes. 2001-03-10 22:46:45 +00:00
uvm_vnode.h Initial integration of the Unified Buffer Cache project. 2000-11-27 08:39:39 +00:00
uvm.h Implement page coloring, using a round-robin bucket selection 2001-04-29 04:23:20 +00:00