freebsd-skq/sys/vm
Alan Cox 0d53a17bde Fix a race involving vnode_pager_input_smlfs(). Specifically, in the case
that vnode_pager_input_smlfs() zeroes the page, it should not mark the page
as valid until after the page is zeroed.  Otherwise, the page could be
mapped for read access (e.g., by vm_map_pmap_enter()) before the page is
zeroed.  Reviewed by: tegge

Eliminate gratuitous clearing of the page's dirty mask by
vnode_pager_input_smlfs().  Instead, assert that the page is clean.
Reviewed by: tegge

Eliminate some blank lines.

Eliminate pointless calls to pmap_clear_modify() and vm_page_undirty() from
vnode_pager_input_old().  The page is not mapped.  Therefore, it cannot have
any page table entries that are modified.

Eliminate an incorrect comment from vnode_pager_generic_getpages().
2009-05-09 08:30:44 +00:00
..
default_pager.c
device_pager.c
memguard.c
memguard.h
phys_pager.c
pmap.h
redzone.c
redzone.h
swap_pager.c Fix typo. 2009-04-28 11:43:35 +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 Eliminate dead code. 2009-04-01 04:36:37 +00:00
vm_fault.c Eliminate an incorrect comment. 2009-05-07 05:44:13 +00:00
vm_glue.c
vm_init.c
vm_kern.c
vm_kern.h
vm_map.c Allow valid pages to be mapped for read access when they have a non-zero 2009-04-19 00:34:34 +00:00
vm_map.h When vm_map_wire(9) is allowed to skip holes in the wired region, skip 2009-04-10 10:16:03 +00:00
vm_meter.c
vm_mmap.c Retire VM_PROT_READ_IS_EXEC. It was intended to be a micro-optimization, 2009-04-04 23:12:14 +00:00
vm_object.c Do not call vm_page_lookup() from the ddb routine, namely from "show 2009-04-23 21:09:47 +00:00
vm_object.h
vm_page.c
vm_page.h
vm_pageout.c Use the acquired reference to the vmspace instead of direct dereferencing 2009-04-28 11:45:36 +00:00
vm_pageout.h
vm_pager.c
vm_pager.h
vm_param.h
vm_phys.c
vm_phys.h
vm_reserv.c Previously, when vm_page_free_toq() was performed on a page belonging to 2009-04-11 09:09:00 +00:00
vm_reserv.h
vm_unix.c Remove execute permission from the memory allocated by sbrk(). 2009-04-11 22:34:08 +00:00
vm_zeroidle.c
vm.h
vnode_pager.c Fix a race involving vnode_pager_input_smlfs(). Specifically, in the case 2009-05-09 08:30:44 +00:00
vnode_pager.h