diff options
author | alc <alc@FreeBSD.org> | 2002-08-03 06:42:30 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2002-08-03 06:42:30 +0000 |
commit | 366a6392adce8127501d228edf0792dec70ece96 (patch) | |
tree | b5f3d6fa386387c618f3e615303a28134baaa3cb /sys | |
parent | 2ddf585cade5416ac291172579ad3c3b3f5a38a3 (diff) | |
download | FreeBSD-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.c | 1 | ||||
-rw-r--r-- | sys/i386/i386/pmap.c | 1 |
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; |