summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-03-04 21:51:09 +0000
committeremaste <emaste@FreeBSD.org>2014-03-04 21:51:09 +0000
commit33dce93124a0e70e57403fcbe3ee5591e17eef46 (patch)
tree52abc2a834e0fa5629e6caebf9b45d2d65ec5dbc
parented41469327bef074f42d569aee03907897699292 (diff)
downloadFreeBSD-src-33dce93124a0e70e57403fcbe3ee5591e17eef46.zip
FreeBSD-src-33dce93124a0e70e57403fcbe3ee5591e17eef46.tar.gz
Disable amd64 TLB Context ID (pcid) by default for now
There are a number of reports of userspace application crashes that are "solved" by setting vm.pmap.pcid_enabled=0, including Java and the x11/mate-terminal port (PR ports/184362). For now apply a band-aid of disabling pcid by default in stable/10. Sponsored by: The FreeBSD Foundation
-rw-r--r--sys/amd64/amd64/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 54b985d..93e32ee 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -367,7 +367,7 @@ static int pmap_flags = PMAP_PDE_SUPERPAGE; /* flags for x86 pmaps */
static struct unrhdr pcid_unr;
static struct mtx pcid_mtx;
-int pmap_pcid_enabled = 1;
+int pmap_pcid_enabled = 0;
SYSCTL_INT(_vm_pmap, OID_AUTO, pcid_enabled, CTLFLAG_RDTUN, &pmap_pcid_enabled,
0, "Is TLB Context ID enabled ?");
int invpcid_works = 0;
OpenPOWER on IntegriCloud