freebsd-nq/sys/i386/xen
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
..
clock.c Refactor Xen PV code to use new event timers subsystem. That uses one-shot 2011-05-13 12:39:37 +00:00
exception.s i386 has not (yet) any DEV_ATPIC conditional than axe it out from Xen 2009-11-27 01:02:17 +00:00
locore.s Eliminate unused variables (see r137912). 2010-01-07 04:47:09 +00:00
mp_machdep.c Reintroduce the lazypmap infrastructure and convert it to using 2011-05-20 14:53:16 +00:00
mptable.c Move the mptable.h under x86/include/. 2010-11-09 20:28:09 +00:00
pmap.c Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this 2011-06-29 16:40:41 +00:00
xen_clock_util.c Migrate the Xen hypervisor clock reading routines into something 2009-05-29 13:36:06 +00:00
xen_machdep.c Spell CRITICAL_ASSERT correctly. 2011-01-04 16:29:07 +00:00
xen_rtc.c Migrate the Xen hypervisor clock reading routines into something 2009-05-29 13:36:06 +00:00