Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111606634
D36564.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
450 B
Referenced Files
None
Subscribers
None
D36564.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
@@ -3908,6 +3908,10 @@
ptepde = pmap_load(pte);
pte = pmap_l1_to_l2(pte, pv->pv_va);
tpte = pmap_load(pte);
+
+ KASSERT((tpte & PTE_V) != 0,
+ ("L2 PTE is invalid... bogus PV entry? "
+ "va=%#lx, pte=%#lx", pv->pv_va, tpte));
if ((tpte & PTE_RWX) != 0) {
superpage = true;
} else {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 6, 10:37 PM (15 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17020863
Default Alt Text
D36564.diff (450 B)
Attached To
Mode
D36564: riscv: add an assert to pmap_remove_pages()
Attached
Detach File
Event Timeline
Log In to Comment