Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2018 05:20:23 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333966 - head/sys/amd64/amd64
Message-ID:  <201805210520.w4L5KNms021830@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Mon May 21 05:20:23 2018
New Revision: 333966
URL: https://svnweb.freebsd.org/changeset/base/333966

Log:
  amd64: annotate pti with __read_frequently

Modified:
  head/sys/amd64/amd64/pmap.c

Modified: head/sys/amd64/amd64/pmap.c
==============================================================================
--- head/sys/amd64/amd64/pmap.c	Mon May 21 05:00:19 2018	(r333965)
+++ head/sys/amd64/amd64/pmap.c	Mon May 21 05:20:23 2018	(r333966)
@@ -413,7 +413,7 @@ int invpcid_works = 0;
 SYSCTL_INT(_vm_pmap, OID_AUTO, invpcid_works, CTLFLAG_RD, &invpcid_works, 0,
     "Is the invpcid instruction available ?");
 
-int pti = 0;
+int __read_frequently pti = 0;
 SYSCTL_INT(_vm_pmap, OID_AUTO, pti, CTLFLAG_RDTUN | CTLFLAG_NOFETCH,
     &pti, 0,
     "Page Table Isolation enabled");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805210520.w4L5KNms021830>