svn commit: r333966 - head/sys/amd64/amd64

Mateusz Guzik mjg at FreeBSD.org
Mon May 21 05:20:24 UTC 2018


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");


More information about the svn-src-all mailing list