diff options
| author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2012-01-17 00:31:09 +0000 |
|---|---|---|
| committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2012-01-17 00:31:09 +0000 |
| commit | 8d01a3b28164abccb978ea0993550be4da568b28 (patch) | |
| tree | a8bcf04d9d76fa2dc411e12855d1b9cca081d69d /sys | |
| parent | 292177e67accaef5acedda3c3b29d72022aba72b (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/vm/vm_pageout.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index 5dd450e1bb3fd..7e63689759601 100644 --- a/sys/vm/vm_pageout.c +++ b/sys/vm/vm_pageout.c @@ -714,11 +714,8 @@ vm_pageout_map_deactivate_pages(map, desired) * 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); } |
