svn commit: r231023 - stable/9/sys/vm
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sun Feb 5 16:23:56 UTC 2012
Author: nwhitehorn
Date: Sun Feb 5 16:23:55 2012
New Revision: 231023
URL: http://svn.freebsd.org/changeset/base/231023
Log:
MFC r230247:
Revert r212360 now that PowerPC can handle large sparse arguments to
pmap_remove() (changed in r228412).
Modified:
stable/9/sys/vm/vm_pageout.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/amd64/include/xen/ (props changed)
stable/9/sys/boot/ (props changed)
stable/9/sys/boot/i386/efi/ (props changed)
stable/9/sys/boot/ia64/efi/ (props changed)
stable/9/sys/boot/ia64/ski/ (props changed)
stable/9/sys/boot/powerpc/boot1.chrp/ (props changed)
stable/9/sys/boot/powerpc/ofw/ (props changed)
stable/9/sys/cddl/contrib/opensolaris/ (props changed)
stable/9/sys/conf/ (props changed)
stable/9/sys/contrib/dev/acpica/ (props changed)
stable/9/sys/contrib/octeon-sdk/ (props changed)
stable/9/sys/contrib/pf/ (props changed)
stable/9/sys/contrib/x86emu/ (props changed)
stable/9/sys/modules/sound/driver/emu10k1/ (props changed)
stable/9/sys/modules/sound/driver/emu10kx/ (props changed)
stable/9/sys/modules/sound/driver/maestro3/ (props changed)
Modified: stable/9/sys/vm/vm_pageout.c
==============================================================================
--- stable/9/sys/vm/vm_pageout.c Sun Feb 5 16:17:14 2012 (r231022)
+++ stable/9/sys/vm/vm_pageout.c Sun Feb 5 16:23:55 2012 (r231023)
@@ -714,11 +714,8 @@ vm_pageout_map_deactivate_pages(map, des
* table pages.
*/
if (desired == 0 && nothingwired) {
- tmpe = map->header.next;
- while (tmpe != &map->header) {
- pmap_remove(vm_map_pmap(map), tmpe->start, tmpe->end);
- tmpe = tmpe->next;
- }
+ pmap_remove(vm_map_pmap(map), vm_map_min(map),
+ vm_map_max(map));
}
vm_map_unlock(map);
}
More information about the svn-src-stable-9
mailing list