kernel - Implement machdep.pmap_nx_enable TUNABLE
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 4 Apr 2017 17:46:57 +0000 (10:46 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 12 Apr 2017 18:53:34 +0000 (11:53 -0700)
commit18031da82fca7cd3e6e3ec236e3bfede20262ccf
treef40b7839042a25aadf78b726a9242d7da8e3f377
parent73cea1666a10a8c2ff80a89a07c93dc151643577
kernel - Implement machdep.pmap_nx_enable TUNABLE

* Implement machdep.pmap_nx_enable TUNABLE.  You can set this to 0
  in /boot/loader.conf to disable the NX feature.

* Also conditionalize on the cpu feature bit being present.
sys/platform/pc64/x86_64/pmap.c