Page MenuHomeFreeBSD

D30550.id.diff
No OneTemporary

D30550.id.diff

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

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)

Event Timeline