freebsd-dev/sys/vm
Konstantin Belousov d239bd3ccc Do not drop vm_map lock between doing vm_map_remove() and vm_map_insert().
For this, introduce vm_map_fixed() that does that for MAP_FIXED case.

Dropping the lock allowed for parallel thread to occupy the freed space.

Reported by:	Tijl Coosemans <tijl ulyssis org>
Reviewed by:	alc
Approved by:	re (kensmith)
MFC after:	2 weeks
2007-08-20 12:05:45 +00:00
..
default_pager.c
device_pager.c Remove comment that is no longer quite true. 2007-08-18 16:41:31 +00:00
memguard.c
memguard.h
phys_pager.c Fix the phys_pager in the way similar to the rev. 1.83 of the 2007-08-18 16:40:33 +00:00
pmap.h
redzone.c
redzone.h
swap_pager.c Consider a scenario in which one processor, call it Pt, is performing 2007-08-05 21:04:32 +00:00
swap_pager.h
uma_core.c
uma_dbg.c
uma_dbg.h
uma_int.h
uma.h
vm_contig.c
vm_extern.h
vm_fault.c Two changes to vm_fault_additional_pages(): 2007-07-20 06:55:11 +00:00
vm_glue.c
vm_init.c
vm_kern.c
vm_kern.h
vm_map.c Do not drop vm_map lock between doing vm_map_remove() and vm_map_insert(). 2007-08-20 12:05:45 +00:00
vm_map.h Do not drop vm_map lock between doing vm_map_remove() and vm_map_insert(). 2007-08-20 12:05:45 +00:00
vm_meter.c Add a counter for the total number of pages cached and support for 2007-07-27 20:01:22 +00:00
vm_mmap.c Do not drop vm_map lock between doing vm_map_remove() and vm_map_insert(). 2007-08-20 12:05:45 +00:00
vm_object.c
vm_object.h
vm_page.c Add a counter for the total number of pages cached and support for 2007-07-27 20:01:22 +00:00
vm_page.h Update a comment describing the page queues. 2007-07-13 04:42:20 +00:00
vm_pageout.c In the previous revision, when I replaced the unconditional acquisition 2007-07-02 06:56:37 +00:00
vm_pageout.h
vm_pageq.c
vm_pager.c Consider a scenario in which one processor, call it Pt, is performing 2007-08-05 21:04:32 +00:00
vm_pager.h
vm_param.h
vm_phys.c Eliminate two unused functions: vm_phys_alloc_pages() and 2007-07-14 21:21:17 +00:00
vm_phys.h Eliminate two unused functions: vm_phys_alloc_pages() and 2007-07-14 21:21:17 +00:00
vm_unix.c
vm_zeroidle.c Eliminate dead code, specifically, an unused sysctl: "vm.idlezero_maxrun". 2007-07-14 19:00:44 +00:00
vm.h
vnode_pager.c When we do open, we should lock the vnode exclusively. This fixes few races: 2007-07-26 16:58:09 +00:00
vnode_pager.h