HardenedBSD/sys/vm
John Dyson 95e5e988e0 Make our v_usecount vnode reference count work identically to the
original BSD code.  The association between the vnode and the vm_object
no longer includes reference counts.  The major difference is that
vm_object's are no longer freed gratuitiously from the vnode, and so
once an object is created for the vnode, it will last as long as the
vnode does.

When a vnode object reference count is incremented, then the underlying
vnode reference count is incremented also.  The two "objects" are now
more intimately related, and so the interactions are now much less
complex.

When vnodes are now normally placed onto the free queue with an object still
attached.  The rundown of the object happens at vnode rundown time, and
happens with exactly the same filesystem semantics of the original VFS
code.  There is absolutely no need for vnode_pager_uncache and other
travesties like that anymore.

A side-effect of these changes is that SMP locking should be much simpler,
the I/O copyin/copyout optimizations work, NFS should be more ponderable,
and further work on layered filesystems should be less frustrating, because
of the totally coherent management of the vnode objects and vnodes.

Please be careful with your system while running this code, but I would
greatly appreciate feedback as soon a reasonably possible.
1998-01-06 05:26:17 +00:00
..
default_pager.c
default_pager.h
device_pager.c
device_pager.h
pmap.h
swap_pager.c
swap_pager.h
vm_extern.h caddr_t --> void * 1997-12-31 02:35:29 +00:00
vm_fault.c Make our v_usecount vnode reference count work identically to the 1998-01-06 05:26:17 +00:00
vm_glue.c
vm_inherit.h
vm_init.c
vm_kern.c
vm_kern.h
vm_map.c Make our v_usecount vnode reference count work identically to the 1998-01-06 05:26:17 +00:00
vm_map.h Make our v_usecount vnode reference count work identically to the 1998-01-06 05:26:17 +00:00
vm_meter.c
vm_mmap.c caddr_t --> void * 1997-12-31 02:35:29 +00:00
vm_object.c Make our v_usecount vnode reference count work identically to the 1998-01-06 05:26:17 +00:00
vm_object.h Make our v_usecount vnode reference count work identically to the 1998-01-06 05:26:17 +00:00
vm_page.c
vm_page.h
vm_pageout.c Make our v_usecount vnode reference count work identically to the 1998-01-06 05:26:17 +00:00
vm_pageout.h
vm_pager.c
vm_pager.h
vm_param.h
vm_prot.h
vm_swap.c
vm_unix.c
vm_zone.c
vm_zone.h
vm.h
vnode_pager.c Make our v_usecount vnode reference count work identically to the 1998-01-06 05:26:17 +00:00
vnode_pager.h