Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Paste
P155
Masterwork From Distant Lands
Active
Public
Actions
Authored by
cem
on Jan 9 2018, 8:59 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F3113043: Masterwork From Distant Lands
Jan 9 2018, 8:59 PM
2018-01-09 20:59:29 (UTC+0)
Subscribers
None
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index f200a34af6c8..e77577bea4b6 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -2185,7 +2185,8 @@ pmap_qenter(vm_offset_t sva, vm_page_t *ma, int count)
pa = VM_PAGE_TO_PHYS(m) | cache_bits;
if ((*pte & (PG_FRAME | X86_PG_PTE_CACHE)) != pa) {
oldpte |= *pte;
- pte_store(pte, pa | X86_PG_G | X86_PG_RW | X86_PG_V);
+ pte_store(pte, pa | X86_PG_G | X86_PG_RW | X86_PG_V |
+ pg_nx);
}
pte++;
}
Event Timeline
cem
edited the content of this paste.
(Show Details)
Jan 9 2018, 8:59 PM
2018-01-09 20:59:29 (UTC+0)
cem
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
cem
updated the paste's language from
autodetect
to
autodetect
.
Log In to Comment