Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F158751740
D22007.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
471 B
Referenced Files
None
Subscribers
None
D22007.diff
View Options
Index: head/sys/amd64/amd64/pmap.c
===================================================================
--- head/sys/amd64/amd64/pmap.c
+++ head/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
Sat, Jun 6, 12:19 PM (2 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33778452
Default Alt Text
D22007.diff (471 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