aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2002-08-03 06:42:30 +0000
committerAlan Cox <alc@FreeBSD.org>2002-08-03 06:42:30 +0000
commit5da2d6a46dc971495408b8d8e3e9b64c94c336c7 (patch)
treeb5f3d6fa386387c618f3e615303a28134baaa3cb /sys
parent5b32667c57a712d6663c0425a2a4d1256459bd91 (diff)
downloadsrc-5da2d6a46dc971495408b8d8e3e9b64c94c336c7.tar.gz
src-5da2d6a46dc971495408b8d8e3e9b64c94c336c7.zip
o Don't set PG_MAPPED on the page allocated and mapped in _pmap_allocpte().
(Only set this flag if the mapping has a corresponding pv list entry, which this mapping doesn't.)
Notes
Notes: svn path=/head/; revision=101254
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/pmap.c1
-rw-r--r--sys/i386/i386/pmap.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 409e4ec4a2d9..e30a8e192663 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -1364,7 +1364,6 @@ _pmap_allocpte(pmap, ptepindex)
m->valid = VM_PAGE_BITS_ALL;
vm_page_flag_clear(m, PG_ZERO);
- vm_page_flag_set(m, PG_MAPPED);
vm_page_wakeup(m);
return m;
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index 409e4ec4a2d9..e30a8e192663 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -1364,7 +1364,6 @@ _pmap_allocpte(pmap, ptepindex)
m->valid = VM_PAGE_BITS_ALL;
vm_page_flag_clear(m, PG_ZERO);
- vm_page_flag_set(m, PG_MAPPED);
vm_page_wakeup(m);
return m;