summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2002-08-03 06:42:30 +0000
committeralc <alc@FreeBSD.org>2002-08-03 06:42:30 +0000
commit366a6392adce8127501d228edf0792dec70ece96 (patch)
treeb5f3d6fa386387c618f3e615303a28134baaa3cb /sys
parent2ddf585cade5416ac291172579ad3c3b3f5a38a3 (diff)
downloadFreeBSD-src-366a6392adce8127501d228edf0792dec70ece96.zip
FreeBSD-src-366a6392adce8127501d228edf0792dec70ece96.tar.gz
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.)
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 409e4ec..e30a8e1 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 409e4ec..e30a8e1 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;
OpenPOWER on IntegriCloud