Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102641858
D30550.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
499 B
Referenced Files
None
Subscribers
None
D30550.id.diff
View Options
diff --git a/sys/riscv/riscv/pmap.c b/sys/riscv/riscv/pmap.c
--- a/sys/riscv/riscv/pmap.c
+++ b/sys/riscv/riscv/pmap.c
@@ -2481,10 +2481,6 @@
mptepa = VM_PAGE_TO_PHYS(mpte);
firstl3 = (pt_entry_t *)PHYS_TO_DMAP(mptepa);
newl2 = ((mptepa / PAGE_SIZE) << PTE_PPN0_S) | PTE_V;
- KASSERT((oldl2 & PTE_A) != 0,
- ("pmap_demote_l2_locked: oldl2 is missing PTE_A"));
- KASSERT((oldl2 & (PTE_D | PTE_W)) != PTE_W,
- ("pmap_demote_l2_locked: oldl2 is missing PTE_D"));
newl3 = oldl2;
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 5:46 AM (13 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14653942
Default Alt Text
D30550.id.diff (499 B)
Attached To
Mode
D30550: RISC-V pmap: remove incorrect assertions in pmap_demote_l2_locked
Attached
Detach File
Event Timeline
Log In to Comment