freebsd-dev/sys/vm
Alan Cox 1c1b26f276 Eliminate page queues locking from bufdone_finish() through the
following changes:

Rename vfs_page_set_valid() to vfs_page_set_validclean() to reflect
what this function actually does.  Suggested by: tegge

Introduce a new version of vfs_page_set_valid() that does no more than
what the function's name implies.  Specifically, it does not update
the page's dirty mask, and thus it does not require the page queues
lock to be held.

Update two of the three callers to the old vfs_page_set_valid() to
call vfs_page_set_validclean() instead because they actually require
the page's dirty mask to be cleared.

Introduce vm_page_set_valid().

Reviewed by:	tegge
2009-05-13 05:39:39 +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 Adjust some variables (mostly related to the buffer cache) that hold 2009-03-09 19:35:20 +00:00
vm_kern.c Revert the addition of the freelist argument for the vm_map_delete() 2009-02-24 20:57:43 +00:00
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 Eliminate page queues locking from bufdone_finish() through the 2009-05-13 05:39:39 +00:00
vm_page.h Eliminate page queues locking from bufdone_finish() through the 2009-05-13 05:39:39 +00:00
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 Change the functions to ANSI in those cases where it breaks promotion 2009-02-24 18:09:31 +00:00
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 Eliminate gratuitous clearing of the page's dirty mask. 2009-05-12 05:49:02 +00:00
vnode_pager.h