freebsd-nq/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 Various bugfixes/cleanups from me and others: 1996-06-16 20:37:31 +00:00
default_pager.h Various bugfixes/cleanups from me and others: 1996-06-16 20:37:31 +00:00
device_pager.c This set of commits to the VM system does the following, and contain 1996-05-18 03:38:05 +00:00
device_pager.h Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
kern_lock.c Untangled the vm.h include file spaghetti. 1995-12-07 12:48:31 +00:00
lock.h Fix pollution of application namespace by declarations of kernel 1995-10-05 01:11:48 +00:00
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 Initial support for MADV_FREE, support for pages that we don't care 1996-05-23 00:45:58 +00:00
vm_extern.h KGDB is dead. It may come back one day if somebody does it. 1996-05-02 09:34:51 +00:00
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 NOTE: libkvm, w, ps, 'top', and any other utility which depends on struct 1995-07-13 08:48:48 +00:00
vm_init.c Changes to support 1Tb filesizes. Pages are now named by an 1995-12-11 04:58:34 +00:00
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 File mistakenly left out of the previous mega-commit. This provides 1996-05-18 03:52:13 +00:00
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 This set of commits to the VM system does the following, and contain 1996-05-18 03:38:05 +00:00
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 Initial support for mincore and madvise. Both are almost fully 1996-05-19 07:36:50 +00:00
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 Completed function declarations and/or added prototypes. 1995-11-21 12:55:26 +00:00
vm_pager.c This set of commits to the VM system does the following, and contain 1996-05-18 03:38:05 +00:00
vm_pager.h Changes to support 1Tb filesizes. Pages are now named by an 1995-12-11 04:58:34 +00:00
vm_param.h This commit does a couple of things: 1996-06-26 05:39:27 +00:00
vm_prot.h Untangled the vm.h include file spaghetti. 1995-12-07 12:48:31 +00:00
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
vm.h Moved the declaration of boolean_t from <vm/vm_param.h> to 1995-12-10 02:34:29 +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 Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00