freebsd-dev/sys/vm
Matthew Dillon 3db161e079 It is possible for an active aio to prevent shared memory from being
dereferenced when a process exits due to the vmspace ref-count being
bumped.  Change shmexit() and shmexit_myhook() to take a vmspace instead
of a process and call it in vmspace_dofree().  This way if it is missed
in exit1()'s early-resource-free it will still be caught when the zombie is
reaped.

Also fix a potential race in shmexit_myhook() by NULLing out
vmspace->vm_shm prior to calling shm_delete_mapping() and free().

MFC after:	7 days
2003-01-13 23:04:32 +00:00
..
default_pager.c
device_pager.c
phys_pager.c Increase the scope of the page queues lock in phys_pager_getpages(). 2002-12-27 06:09:56 +00:00
pmap.h Move pmap_collect() out of the machine-dependent code, rename it 2002-11-13 05:39:58 +00:00
swap_pager.c Avoid extern decls in .c files by putting them in the vm/swap_pager.h 2003-01-03 14:30:46 +00:00
swap_pager.h Make struct swblock kernel only, to make vm/swap_pager.h userland includable. 2003-01-03 16:23:12 +00:00
uma_core.c Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
uma_dbg.c atomic_set_8 isn't MI. Instead, follow Jake's suggestions about 2002-11-11 11:50:03 +00:00
uma_dbg.h
uma_int.h - Add support for machine dependant page allocation routines. MD code 2002-11-01 01:01:27 +00:00
uma.h
vm_contig.c - Hold the kernel_object's lock around vm_page_insert(..., kernel_object, 2002-12-23 20:39:15 +00:00
vm_extern.h
vm_fault.c vm_fault_copy_entry() needn't clear PG_ZERO because it didn't pass 2003-01-12 07:33:16 +00:00
vm_glue.c - Hold the page queues lock around vm_page_wakeup(). 2002-12-24 04:24:58 +00:00
vm_init.c Move the definitions of the hw.physmem, hw.usermem and hw.availpages 2002-11-07 23:57:17 +00:00
vm_kern.c Allow kmem_malloc() without Giant if M_NOWAIT is specified. 2003-01-04 19:26:35 +00:00
vm_kern.h
vm_map.c It is possible for an active aio to prevent shared memory from being 2003-01-13 23:04:32 +00:00
vm_map.h Add a needed #include. 2003-01-01 00:13:01 +00:00
vm_meter.c Make 'sysctl vm.vmtotal' work properly using updated patch from Hiten. 2003-01-11 07:29:47 +00:00
vm_mmap.c Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
vm_object.c Use vm_object_lock() and vm_object_unlock() in vm_object_deallocate(). 2003-01-04 19:23:19 +00:00
vm_object.h - Remove vm_object_init2(). It is unused. 2002-12-29 21:01:14 +00:00
vm_page.c Make vm_page_alloc() return PG_ZERO only if VM_ALLOC_ZERO is specified. 2003-01-12 23:32:46 +00:00
vm_page.h - Remove vm_page_sleep_busy(). The transition to vm_page_sleep_if_busy(), 2002-12-19 07:23:46 +00:00
vm_pageout.c Avoid extern decls in .c files by putting them in the vm/swap_pager.h 2003-01-03 14:30:46 +00:00
vm_pageout.h This is David Schultz's swapoff code which I am finally able to commit. 2002-12-15 19:17:57 +00:00
vm_pageq.c
vm_pager.c
vm_pager.h Allow the VM object flushing code to cluster. When the filesystem syncer 2002-12-28 21:03:42 +00:00
vm_param.h Make 'sysctl vm.vmtotal' work properly using updated patch from Hiten. 2003-01-11 07:29:47 +00:00
vm_swap.c Temporarily introduce a new VOP_SPECSTRATEGY operation while I try 2003-01-04 22:10:36 +00:00
vm_unix.c
vm_zeroidle.c
vm.h Change the way ELF coredumps are handled. Instead of unconditionally 2002-12-16 19:24:43 +00:00
vnode_pager.c We can get past here on a normal vnode as well, so use VOP_STRATEGY if so. 2003-01-13 21:32:16 +00:00
vnode_pager.h