1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-01 12:19:28 +00:00
freebsd/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
device_pager.c
phys_pager.c
pmap.h Unrevert the pmap_map() changes. They weren't broken on x86. 2001-03-07 05:29:21 +00:00
swap_pager.c
swap_pager.h
vm_extern.h
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
vm_init.c
vm_kern.c
vm_kern.h
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
vm_meter.c
vm_mmap.c
vm_object.c Simplify vm_object_deallocate(), by decrementing the refcount first. 2001-03-04 20:25:23 +00:00
vm_object.h
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
vm_pageout.c
vm_pageout.h
vm_pager.c
vm_pager.h
vm_param.h
vm_swap.c
vm_unix.c
vm_zone.c
vm_zone.h
vm.h
vnode_pager.c
vnode_pager.h