Page MenuHomeFreeBSD

D29094.1796568243.diff
No OneTemporary

Authored By
Unknown
Size
421 B
Referenced Files
None
Subscribers
None

D29094.1796568243.diff

diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c
--- a/sys/amd64/amd64/mp_machdep.c
+++ b/sys/amd64/amd64/mp_machdep.c
@@ -851,7 +851,8 @@
invpcid(&d, INVPCID_CTXGLOB);
} else {
invpcid(&d, INVPCID_CTX);
- if (smp_tlb_pmap == PCPU_GET(curpmap))
+ if (smp_tlb_pmap == PCPU_GET(curpmap) &&
+ smp_tlb_pmap->pm_ucr3 != PMAP_NO_CR3)
PCPU_SET(ucr3_load_mask, ~CR3_PCID_SAVE);
}
}

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 6, 2:44 PM (27 m, 4 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42258974
Default Alt Text
D29094.1796568243.diff (421 B)

Event Timeline