Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168369636
D57003.id177834.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
425 B
Referenced Files
None
Subscribers
None
D57003.id177834.diff
View Options
diff --git a/sys/riscv/riscv/mp_machdep.c b/sys/riscv/riscv/mp_machdep.c
--- a/sys/riscv/riscv/mp_machdep.c
+++ b/sys/riscv/riscv/mp_machdep.c
@@ -190,6 +190,11 @@
/* Activate process 0's pmap. */
pmap_activate_boot(vmspace_pmap(proc0.p_vmspace));
+ /*
+ * Flush the TLB to avoid spurious kernel page faults
+ * on implementations that cache invalid entries.
+ */
+ sfence_vma();
mtx_lock_spin(&ap_boot_mtx);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 28, 7:54 PM (10 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37480783
Default Alt Text
D57003.id177834.diff (425 B)
Attached To
Mode
D57003: riscv/mp_machdep.c: Flush the TLB after releasing APs
Attached
Detach File
Event Timeline
Log In to Comment