freebsd-src/sys/vm
Alan Cox 9fc4739d2a In general, we call pmap_remove_all() before calling vm_page_cache(). So,
the call to pmap_remove_all() within vm_page_cache() is usually redundant.
This change eliminates that call to pmap_remove_all() and introduces a
call to pmap_remove_all() before vm_page_cache() in the one place where
it didn't already exist.

When iterating over a paging queue, if the object containing the current
page has a zero reference count, then the page can't have any managed
mappings.  So, a call to pmap_remove_all() is pointless.

Change a panic() call in vm_page_cache() to a KASSERT().

MFC after:	6 weeks
2012-11-01 16:20:02 +00:00
..
default_pager.c
device_pager.c After the PHYS_TO_VM_PAGE() function was de-inlined, the main reason 2012-08-05 14:11:42 +00:00
memguard.c Fix a bug with memguard(9) on 32-bit architectures without a 2012-07-15 20:29:48 +00:00
memguard.h Fix a bug with memguard(9) on 32-bit architectures without a 2012-07-15 20:29:48 +00:00
phys_pager.c
pmap.h The page flag PGA_WRITEABLE is set and cleared exclusively by the pmap 2012-06-16 18:56:19 +00:00
redzone.c
redzone.h
sg_pager.c After the PHYS_TO_VM_PAGE() function was de-inlined, the main reason 2012-08-05 14:11:42 +00:00
swap_pager.c Whitespace cleanup. 2012-09-05 12:24:50 +00:00
swap_pager.h
uma.h Const-ify the zone name argument to uma_zcreate(9). 2012-10-26 17:51:05 +00:00
uma_core.c Const-ify the zone name argument to uma_zcreate(9). 2012-10-26 17:51:05 +00:00
uma_dbg.c
uma_dbg.h
uma_int.h Const-ify the zone name argument to uma_zcreate(9). 2012-10-26 17:51:05 +00:00
vm.h
vm_extern.h
vm_fault.c Commit the actual text provided by Alan, instead of the wrong update 2012-10-24 18:32:37 +00:00
vm_glue.c Move the corresponding MTX_SYSINIT() next to their struct mtx declaration 2012-10-26 17:31:35 +00:00
vm_init.c
vm_kern.c Move what remains of vm/vm_contig.c into vm/vm_pageout.c, where similar 2012-07-18 05:21:34 +00:00
vm_kern.h
vm_map.c - After r240026 sgrowsiz should be used in a safer maner. 2012-09-03 09:34:46 +00:00
vm_map.h Fix a bug with memguard(9) on 32-bit architectures without a 2012-07-15 20:29:48 +00:00
vm_meter.c
vm_mmap.c Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
vm_object.c Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
vm_object.h - Add a comment explaining the locking of the cached pages pool held 2012-06-22 18:34:11 +00:00
vm_page.c In general, we call pmap_remove_all() before calling vm_page_cache(). So, 2012-11-01 16:20:02 +00:00
vm_page.h Rework the known mutexes to benefit about staying on their own 2012-10-31 18:07:18 +00:00
vm_pageout.c In general, we call pmap_remove_all() before calling vm_page_cache(). So, 2012-11-01 16:20:02 +00:00
vm_pageout.h Move what remains of vm/vm_contig.c into vm/vm_pageout.c, where similar 2012-07-18 05:21:34 +00:00
vm_pager.c
vm_pager.h
vm_param.h
vm_phys.c
vm_phys.h
vm_reserv.c Correct an off-by-one error in vm_reserv_alloc_contig() that resulted in 2012-07-15 21:46:19 +00:00
vm_reserv.h
vm_unix.c
vm_zeroidle.c
vnode_pager.c Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
vnode_pager.h