Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163407216
D22007.id64143.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
456 B
Referenced Files
None
Subscribers
None
D22007.id64143.diff
View Options
Index: sys/amd64/amd64/pmap.c
===================================================================
--- sys/amd64/amd64/pmap.c
+++ sys/amd64/amd64/pmap.c
@@ -8810,8 +8810,11 @@
oldpmap = PCPU_GET(curpmap);
pmap = vmspace_pmap(td->td_proc->p_vmspace);
- if (oldpmap == pmap)
+ if (oldpmap == pmap) {
+ if (cpu_vendor_id != CPU_VENDOR_INTEL)
+ mfence();
return;
+ }
cpuid = PCPU_GET(cpuid);
#ifdef SMP
CPU_SET_ATOMIC(cpuid, &pmap->pm_active);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 10:46 PM (15 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35418457
Default Alt Text
D22007.id64143.diff (456 B)
Attached To
Mode
D22007: amd64: Ensure that the state of the switched-out thread is fully flushed
Attached
Detach File
Event Timeline
Log In to Comment