diff options
author | jhb <jhb@FreeBSD.org> | 2006-08-14 15:39:41 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-08-14 15:39:41 +0000 |
commit | 98def9ff62665a0f3400e1e65641f9bab6994b9b (patch) | |
tree | 2142799211b97aba6bbeedaa034e7179e735e1c8 /sys/amd64 | |
parent | c4f062232737a29db8d03191558d5ab93e9381f3 (diff) | |
download | FreeBSD-src-98def9ff62665a0f3400e1e65641f9bab6994b9b.zip FreeBSD-src-98def9ff62665a0f3400e1e65641f9bab6994b9b.tar.gz |
Don't try to preserve PAT bits in pmap_enter(). We currently on pages that
aren't mapped via pmap_enter() (KVA). We will eventually support PAT bits
on user pages, but those will require some sort of MI caching mode stored
in the vm_page.
Reviewed by: alc
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/pmap.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 47921a5..ce1b0c7 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -2368,10 +2368,6 @@ validate: if (pmap == kernel_pmap) newpte |= PG_G; - /* Preserve any caching attributes. */ - /* XXX: Should this be conditional on something? */ - newpte |= (origpte & (PG_PTE_PAT | PG_NC_PCD | PG_NC_PWT)); - /* * if the mapping or permission bits are different, we need * to update the pte. |