Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168231055
D42291.id129083.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
560 B
Referenced Files
None
Subscribers
None
D42291.id129083.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
@@ -3472,10 +3472,8 @@
!pmap_try_insert_pv_entry(pmap, va, m, lockp)) {
if (mpte != NULL) {
SLIST_INIT(&free);
- if (pmap_unwire_ptp(pmap, va, mpte, &free)) {
- pmap_invalidate_page(pmap, va);
+ if (pmap_unwire_ptp(pmap, va, mpte, &free))
vm_page_free_pages_toq(&free, false);
- }
mpte = NULL;
}
return (mpte);
@@ -3524,7 +3522,6 @@
}
#endif
- pmap_invalidate_page(pmap, va);
return (mpte);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 28, 1:54 AM (9 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37428065
Default Alt Text
D42291.id129083.diff (560 B)
Attached To
Mode
D42291: riscv: Remove unnecessary invalidations in pmap_enter_quick_locked()
Attached
Detach File
Event Timeline
Log In to Comment