kernel - Implement machdep.pmap_nx_enable TUNABLE

Operating Systems / DragonFlyBSD - Matthew Dillon [apollo.backplane.com] - 4 April 2017 13:46 EDT

- 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.

2620a64 kernel - Implement machdep.pmap_nx_enable TUNABLE
sys/platform/pc64/x86_64/pmap.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)

Upstream: gitweb.dragonflybsd.org


  • Share