amd64: annotate pti with __read_frequently
This commit is contained in:
parent
9aeb8f9999
commit
edacda736b
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user