diff options
author | peter <peter@FreeBSD.org> | 2001-11-01 06:48:04 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-11-01 06:48:04 +0000 |
commit | 3efc809ca3b0ebfa31ddee3c2ca88962c9e6c2a6 (patch) | |
tree | 98e063c2ac7a68f9005fa2c0837c3c210503be7f /sys/amd64 | |
parent | 364766b6e6588eafb5f9fe6b65eb6c8362522a2b (diff) | |
download | FreeBSD-src-3efc809ca3b0ebfa31ddee3c2ca88962c9e6c2a6.zip FreeBSD-src-3efc809ca3b0ebfa31ddee3c2ca88962c9e6c2a6.tar.gz |
Skip PG_UNMANAGED pages when we're shooting everything down to try and
reclaim pv_entries. PG_UNMANAGED pages dont have pv_entries to reclaim.
Reported by: David Xu <davidx@viasoft.com.cn>
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index edd0758..74a22c5 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -1729,7 +1729,7 @@ pmap_collect() for(i = 0; i < vm_page_array_size; i++) { m = &vm_page_array[i]; if (m->wire_count || m->hold_count || m->busy || - (m->flags & PG_BUSY)) + (m->flags & (PG_BUSY | PG_UNMANAGED))) continue; pmap_remove_all(m); } |