Page MenuHomeFreeBSD

D22007.diff
No OneTemporary

D22007.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
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)

Event Timeline