freebsd-dev/sys/vm
John Dyson bef608bd7e Some VM improvements, including elimination of alot of Sig-11
problems.  Tor Egge and others have helped with various VM bugs
lately, but don't blame him -- blame me!!!

pmap.c:
1)	Create an object for kernel page table allocations.  This
	fixes a bogus allocation method previously used for such, by
	grabbing pages from the kernel object, using bogus pindexes.
	(This was a code cleanup, and perhaps a minor system stability
	 issue.)

pmap.c:
2)	Pre-set the modify and accessed bits when prudent.  This will
	decrease bus traffic under certain circumstances.

vfs_bio.c, vfs_cluster.c:
3)	Rather than calculating the beginning virtual byte offset
	multiple times, stick the offset into the buffer header, so
	that the calculated offset can be reused.  (Long long multiplies
	are often expensive, and this is a probably unmeasurable performance
	improvement, and code cleanup.)

vfs_bio.c:
4)	Handle write recursion more intelligently (but not perfectly) so
	that it is less likely to cause a system panic, and is also
	much more robust.

vfs_bio.c:
5)	getblk incorrectly wrote out blocks that are incorrectly sized.
	The problem is fixed, and writes blocks out ONLY when B_DELWRI
	is true.

vfs_bio.c:
6)	Check that already constituted buffers have fully valid pages.  If
	not, then make sure that the B_CACHE bit is not set. (This was
	a major source of Sig-11 type problems.)

vfs_bio.c:
7)	Fix a potential system deadlock due to an incorrectly specified
	sleep priority while waiting for a buffer write operation.  The
	change that I made opens the system up to serious problems, and
	we need to examine the issue of process sleep priorities.

vfs_cluster.c, vfs_bio.c:
8)	Make clustered reads work more correctly (and more completely)
	when buffers are already constituted, but not fully valid.
	(This was another system reliability issue.)

vfs_subr.c, ffs_inode.c:
9)	Create a vtruncbuf function, which is used by filesystems that
	can truncate files.  The vinvalbuf forced a file sync type operation,
	while vtruncbuf only invalidates the buffers past the new end of file,
	and also invalidates the appropriate pages.  (This was a system reliabiliy
	and performance issue.)

10)	Modify FFS to use vtruncbuf.

vm_object.c:
11)	Make the object rundown mechanism for OBJT_VNODE type objects work
	more correctly.  Included in that fix, create pager entries for
	the OBJT_DEAD pager type, so that paging requests that might slip
	in during race conditions are properly handled.  (This was a system
	reliability issue.)

vm_page.c:
12)	Make some of the page validation routines be a little less picky
	about arguments passed to them.  Also, support page invalidation
	change the object generation count so that we handle generation
	counts a little more robustly.

vm_pageout.c:
13)	Further reduce pageout daemon activity when the system doesn't
	need help from it.  There should be no additional performance
	decrease even when the pageout daemon is running.  (This was
	a significant performance issue.)

vnode_pager.c:
14)	Teach the vnode pager to handle race conditions during vnode
	deallocations.
1998-03-16 01:56:03 +00:00
..
default_pager.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
default_pager.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
device_pager.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
device_pager.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
pmap.h Forward declare more structs that are used in prototypes here - don't 1998-02-01 20:08:39 +00:00
swap_pager.c This mega-commit is meant to fix numerous interrelated problems. There 1998-03-07 21:37:31 +00:00
swap_pager.h Fix page prezeroing for SMP, and fix some potential paging-in-progress 1998-02-25 03:56:15 +00:00
vm_extern.h VM level code cleanups. 1998-01-22 17:30:44 +00:00
vm_fault.c Make vm_fault much cleaner by removing the evil macro inlines, and 1998-03-07 20:45:47 +00:00
vm_glue.c Reviewed by: msmith, bde long ago 1998-03-04 10:27:00 +00:00
vm_inherit.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vm_init.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
vm_kern.c 1) Use a more consistent page wait methodology. 1998-03-01 04:18:54 +00:00
vm_kern.h Attempt to fix the previous fix to the contigmalloc1 prototype. 1997-10-11 10:39:19 +00:00
vm_map.c This mega-commit is meant to fix numerous interrelated problems. There 1998-03-07 21:37:31 +00:00
vm_map.h VM level code cleanups. 1998-01-22 17:30:44 +00:00
vm_meter.c Removed all traces of P_IDLEPROC. It was tested but never set. 1997-11-24 15:15:33 +00:00
vm_mmap.c Fix for mmap of char devices bug as described in OpenBSD advisory of 1998-03-12 19:36:18 +00:00
vm_object.c Some VM improvements, including elimination of alot of Sig-11 1998-03-16 01:56:03 +00:00
vm_object.h This mega-commit is meant to fix numerous interrelated problems. There 1998-03-07 21:37:31 +00:00
vm_page.c Some VM improvements, including elimination of alot of Sig-11 1998-03-16 01:56:03 +00:00
vm_page.h This mega-commit is meant to fix numerous interrelated problems. There 1998-03-07 21:37:31 +00:00
vm_pageout.c Some VM improvements, including elimination of alot of Sig-11 1998-03-16 01:56:03 +00:00
vm_pageout.h VM level code cleanups. 1998-01-22 17:30:44 +00:00
vm_pager.c Some VM improvements, including elimination of alot of Sig-11 1998-03-16 01:56:03 +00:00
vm_pager.h This mega-commit is meant to fix numerous interrelated problems. There 1998-03-07 21:37:31 +00:00
vm_param.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vm_prot.h Fix the gdb executable modify problem. Thanks to the detective work 1997-04-06 02:29:45 +00:00
vm_swap.c Significantly improve the efficiency of the swap pager, which appears to 1998-02-23 08:22:48 +00:00
vm_unix.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
vm_zone.c Try to dynamically size the VM_KMEM_SIZE (but is still able to be overridden 1998-02-23 07:42:43 +00:00
vm_zone.h Slight improvement to the vm_zone stats output. Also, some other superficial 1997-12-14 05:17:44 +00:00
vm.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vnode_pager.c Some VM improvements, including elimination of alot of Sig-11 1998-03-16 01:56:03 +00:00
vnode_pager.h In the author's words: 1998-02-26 06:39:59 +00:00