Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111631346
D31295.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
801 B
Referenced Files
None
Subscribers
None
D31295.diff
View Options
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -11321,7 +11321,7 @@
m = pmap_kasan_enter_alloc_2m();
if (m != NULL) {
*pde = (pd_entry_t)(VM_PAGE_TO_PHYS(m) | X86_PG_RW |
- X86_PG_PS | X86_PG_V | pg_nx);
+ X86_PG_PS | X86_PG_V | X86_PG_A | X86_PG_M | pg_nx);
} else {
m = pmap_kasan_enter_alloc_4k();
*pde = (pd_entry_t)(VM_PAGE_TO_PHYS(m) | X86_PG_RW |
@@ -11333,8 +11333,6 @@
pte = pmap_pde_to_pte(pde, va);
if ((*pte & X86_PG_V) != 0)
return;
- KASSERT((*pte & X86_PG_V) == 0,
- ("%s: shadow address %#lx is already mapped", __func__, va));
m = pmap_kasan_enter_alloc_4k();
*pte = (pt_entry_t)(VM_PAGE_TO_PHYS(m) | X86_PG_RW | X86_PG_V |
X86_PG_M | X86_PG_A | pg_nx);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 7, 6:42 AM (18 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17024081
Default Alt Text
D31295.diff (801 B)
Attached To
Mode
D31295: amd64: Introduce KMSAN shadow maps
Attached
Detach File
Event Timeline
Log In to Comment