freebsd-dev/sys/vm
Ian Dowse d30344bdfa When creating a shadow vm_object in vmspace_fork(), only one
reference count was transferred to the new object, but both the
new and the old map entries had pointers to the new object.
Correct this by transferring the second reference.

This fixes a panic that can occur when mmap(2) is used with the
MAP_INHERIT flag.

PR:		i386/25603
Reviewed by:	dillon, alc
2001-03-09 18:25:54 +00:00
..
default_pager.c - If swap metadata does not fit into the KVM, reduce the number of 2000-12-13 10:01:00 +00:00
device_pager.c Revert spelling mistake I made in the previous commit 2000-03-27 20:41:17 +00:00
phys_pager.c Really fix phys_pager: 2000-12-06 21:52:23 +00:00
pmap.h Unrevert the pmap_map() changes. They weren't broken on x86. 2001-03-07 05:29:21 +00:00
swap_pager.c Introduce per-swap area accounting in the VM system, and export 2001-02-23 18:46:21 +00:00
swap_pager.h - If swap metadata does not fit into the KVM, reduce the number of 2000-12-13 10:01:00 +00:00
vm_extern.h Remove unused 3rd argument from vsunlock() which abused B_WRITE. 2000-03-13 10:47:24 +00:00
vm_fault.c If we intend to make the page writable without requiring another fault, 2001-02-28 04:26:43 +00:00
vm_glue.c Implement a unified run queue and adjust priority levels accordingly. 2001-02-12 00:20:08 +00:00
vm_init.c Add missing include. 2001-01-24 06:54:24 +00:00
vm_kern.c Add mtx_assert()'s to verify that kmem_alloc() and kmem_free() are called 2001-01-24 11:27:29 +00:00
vm_kern.h Fix null-pointer dereference crash when the system is intentionally 2000-02-16 21:11:33 +00:00
vm_map.c When creating a shadow vm_object in vmspace_fork(), only one 2001-03-09 18:25:54 +00:00
vm_map.h Change and clean the mutex lock interface. 2001-02-09 06:11:45 +00:00
vm_meter.c Implement a unified run queue and adjust priority levels accordingly. 2001-02-12 00:20:08 +00:00
vm_mmap.c This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
vm_object.c Simplify vm_object_deallocate(), by decrementing the refcount first. 2001-03-04 20:25:23 +00:00
vm_object.h Make the arguments match the functionality of the functions. 2000-08-26 04:51:39 +00:00
vm_page.c Unrevert the pmap_map() changes. They weren't broken on x86. 2001-03-07 05:29:21 +00:00
vm_page.h This implements a better launder limiting solution. There was a solution 2000-12-26 19:41:38 +00:00
vm_pageout.c Change and clean the mutex lock interface. 2001-02-09 06:11:45 +00:00
vm_pageout.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
vm_pager.c Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
vm_pager.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
vm_param.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
vm_swap.c Introduce per-swap area accounting in the VM system, and export 2001-02-23 18:46:21 +00:00
vm_unix.c If a process is over its resource limit for datasize, still allow 2000-10-06 13:03:50 +00:00
vm_zone.c Fix formatting bugs introduced in sysctl_vm_zone() by the previous commit. 2001-02-22 14:44:39 +00:00
vm_zone.h Give this code a major facelift: 2001-01-22 07:01:50 +00:00
vm.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
vnode_pager.c This implements a better launder limiting solution. There was a solution 2000-12-26 19:41:38 +00:00
vnode_pager.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00