freebsd-skq/sys/mips
Alan Cox 6bbee8e28a Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this
option to vm_object_page_remove() asserts that the specified range of pages
is not mapped, or more precisely that none of these pages have any managed
mappings.  Thus, vm_object_page_remove() need not call pmap_remove_all() on
the pages.

This change not only saves time by eliminating pointless calls to
pmap_remove_all(), but it also eliminates an inconsistency in the use of
pmap_remove_all() versus related functions, like pmap_remove_write().  It
eliminates harmless but pointless calls to pmap_remove_all() that were being
performed on PG_UNMANAGED pages.

Update all of the existing assertions on pmap_remove_all() to reflect this
change.

Reviewed by:	kib
2011-06-29 16:40:41 +00:00
..
adm5120 - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
alchemy - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
atheros Remove duplicate header includes 2011-06-26 10:07:48 +00:00
cavium MFC 2011-06-04 22:05:20 +00:00
compile
conf Use new option names for NFS client and NFS server 2011-05-11 00:52:41 +00:00
idt - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
include Merge r221846 from largeSMP project branch: 2011-05-23 23:35:50 +00:00
malta Switch the GENERIC kernels for all architectures to the new CAM-based ATA 2011-04-24 08:58:58 +00:00
mips Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this 2011-06-29 16:40:41 +00:00
rmi Remove duplicate header includes 2011-06-26 10:07:48 +00:00
rt305x Import the initial CPU support for the MIPS RALink RT305x SoC. 2011-04-03 14:39:55 +00:00
sentry5 Remove duplicate header includes 2011-06-26 10:07:48 +00:00
sibyte Remove duplicate header includes 2011-06-26 10:07:48 +00:00