Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110456615
D21754.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
614 B
Referenced Files
None
Subscribers
None
D21754.id.diff
View Options
Index: head/sys/amd64/amd64/pmap.c
===================================================================
--- head/sys/amd64/amd64/pmap.c
+++ head/sys/amd64/amd64/pmap.c
@@ -3134,7 +3134,7 @@
pt_entry_t *pte;
pte = vtopte(va);
- pte_store(pte, pa | X86_PG_RW | X86_PG_V | pg_g);
+ pte_store(pte, pa | X86_PG_RW | X86_PG_V | pg_g | pg_nx);
}
static __inline void
@@ -3145,7 +3145,7 @@
pte = vtopte(va);
cache_bits = pmap_cache_bits(kernel_pmap, mode, 0);
- pte_store(pte, pa | X86_PG_RW | X86_PG_V | pg_g | cache_bits);
+ pte_store(pte, pa | X86_PG_RW | X86_PG_V | pg_g | pg_nx | cache_bits);
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 19, 5:15 PM (20 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16724676
Default Alt Text
D21754.id.diff (614 B)
Attached To
Mode
D21754: Set NX in mappings created by pmap_kenter() and pmap_kenter_attr().
Attached
Detach File
Event Timeline
Log In to Comment