Page MenuHomeFreeBSD

D20209.id57211.diff
No OneTemporary

D20209.id57211.diff

Index: sys/riscv/riscv/pmap.c
===================================================================
--- sys/riscv/riscv/pmap.c
+++ sys/riscv/riscv/pmap.c
@@ -4200,16 +4200,6 @@
{
m->md.pv_memattr = ma;
-
- /*
- * RISCVTODO: Implement the below (from the amd64 pmap)
- * If "m" is a normal page, update its direct mapping. This update
- * can be relied upon to perform any cache operations that are
- * required for data coherence.
- */
- if ((m->flags & PG_FICTITIOUS) == 0 &&
- PHYS_IN_DMAP(VM_PAGE_TO_PHYS(m)))
- panic("RISCVTODO: pmap_page_set_memattr");
}
/*

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 26, 2:52 AM (11 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32113133
Default Alt Text
D20209.id57211.diff (581 B)

Event Timeline