Page MenuHomeFreeBSD

D22007.1791827222.diff
No OneTemporary

Size
471 B
Referenced Files
None
Subscribers
None

D22007.1791827222.diff

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

Mime Type
text/plain
Expires
Mon, Oct 12, 5:47 PM (20 m, 51 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30309468
Default Alt Text
D22007.1791827222.diff (471 B)

Event Timeline