freebsd_amp_hwpstate/sys/vm
John Dyson 4f4d35edf0 This commit is meant to solve a couple of VM system problems or
performance issues.

	1) The pmap module has had too many inlines, and so the
	   object file is simply bigger than it needs to be.
	   Some common code is also merged into subroutines.
	2) Removal of some *evil* PHYS_TO_VM_PAGE macro calls.
	   Unfortunately, a few have needed to be added also.
	   The removal caused the need for more vm_page_lookups.
	   I added lookup hints to minimize the need for the
	   page table lookup operations.
	3) Removal of some bogus performance improvements, that
	   mostly made the code more complex (tracking individual
	   page table page updates unnecessarily).  Those improvements
	   actually hurt 386 processors perf (not that people who
	   worry about perf use 386 processors anymore :-)).
	4) Changed pv queue manipulations/structures to be TAILQ's.
	5) The pv queue code has had some performance problems since
	   day one.  Some significant scalability issues are resolved
	   by threading the pv entries from the pmap AND the physical
	   address instead of just the physical address.  This makes
	   certain pmap operations run much faster.  This does
	   not affect most micro-benchmarks, but should help loaded system
	   performance *significantly*.  DG helped and came up with most
	   of the solution for this one.
	6) Most if not all pmap bit operations follow the pattern:
		pmap_test_bit();
		pmap_clear_bit();
	   That made for twice the necessary pv list traversal.   The
	   pmap interface now supports only pmap_tc_bit type operations:
	   pmap_[test/clear]_modified, pmap_[test/clear]_referenced.
	   Additionally, the modified routine now takes a vm_page_t arg
	   instead of a phys address.  This eliminates a PHYS_TO_VM_PAGE
	   operation.
	7) Several rewrites of routines that contain redundant code to
	   use common routines, so that there is a greater likelihood of
	   keeping the cache footprint smaller.
1996-07-27 03:24:10 +00:00
..
default_pager.c
default_pager.h
device_pager.c
device_pager.h
kern_lock.c
lock.h
pmap.h Several bugfixes/improvements: 1996-06-17 03:35:40 +00:00
swap_pager.c This commit is meant to solve a couple of VM system problems or 1996-07-27 03:24:10 +00:00
swap_pager.h
vm.h
vm_extern.h
vm_fault.c This commit is meant to solve a couple of VM system problems or 1996-07-27 03:24:10 +00:00
vm_glue.c Properly set the PG_MAPPED and PG_WRITEABLE flags. This fixes some potential 1996-07-02 02:08:02 +00:00
vm_inherit.h
vm_init.c
vm_kern.c Properly set the PG_MAPPED and PG_WRITEABLE flags. This fixes some potential 1996-07-02 02:08:02 +00:00
vm_kern.h
vm_map.c This commit is meant to solve a couple of VM system problems or 1996-07-27 03:24:10 +00:00
vm_map.h This commit is meant to solve a couple of VM system problems or 1996-07-27 03:24:10 +00:00
vm_meter.c
vm_mmap.c This commit is meant to solve a couple of VM system problems or 1996-07-27 03:24:10 +00:00
vm_object.c This commit is meant to solve a couple of VM system problems or 1996-07-27 03:24:10 +00:00
vm_object.h
vm_page.c This commit is meant to solve a couple of VM system problems or 1996-07-27 03:24:10 +00:00
vm_page.h This commit is meant to solve a couple of VM system problems or 1996-07-27 03:24:10 +00:00
vm_pageout.c This commit is meant to solve a couple of VM system problems or 1996-07-27 03:24:10 +00:00
vm_pageout.h
vm_pager.c
vm_pager.h
vm_param.h This commit does a couple of things: 1996-06-26 05:39:27 +00:00
vm_prot.h
vm_swap.c Don't use NULL in non-pointer contexts. 1996-07-12 04:12:25 +00:00
vm_unix.c Fix some serious problems with limits checking in the sbrk(2)/brk(2) 1996-06-25 00:36:46 +00:00
vnode_pager.c This commit is meant to solve a couple of VM system problems or 1996-07-27 03:24:10 +00:00
vnode_pager.h