Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177183127
D30550.1793937949.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
499 B
Referenced Files
None
Subscribers
None
D30550.1793937949.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
Fri, Nov 6, 4:05 AM (4 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41487346
Default Alt Text
D30550.1793937949.diff (499 B)
Attached To
Mode
D30550: RISC-V pmap: remove incorrect assertions in pmap_demote_l2_locked
Attached
Detach File
Event Timeline