]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r330511:
authorjtl <jtl@FreeBSD.org>
Fri, 20 Apr 2018 15:35:58 +0000 (15:35 +0000)
committerjtl <jtl@FreeBSD.org>
Fri, 20 Apr 2018 15:35:58 +0000 (15:35 +0000)
commit7707c3836a7b04ce707f51bae5c7545c799dd3bb
tree1d4ec2566cd0d7dc09d71664e5bc171bb7fe98c3
parent22473a6cfb7854770ee0455f82785ad779eae49b
MFC r330511:
  We shouldn't need to execute code in the recursive page table mappings;
  therefore, it should be safe to set the NX bit on the PML4E for the
  recursive page table mappings.  According to the Intel docs, the effect
  of the NX bit should propogate to any page reached through a PML4E which
  has the NX bit set.

Sponsored by: Netflix, Inc.
sys/amd64/amd64/pmap.c