summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2008-12-06 19:37:52 +0000
committeralc <alc@FreeBSD.org>2008-12-06 19:37:52 +0000
commit071a9996a4d25758c7b4d67922568d5356452a3c (patch)
tree2c2eecdd867430ae2adeb7f3abe03e035fcc18cb /sys/amd64
parente50dcd29223a660dbc3857b80b62aa779bb8f068 (diff)
downloadFreeBSD-src-071a9996a4d25758c7b4d67922568d5356452a3c.zip
FreeBSD-src-071a9996a4d25758c7b4d67922568d5356452a3c.tar.gz
Change the default value for the flag enabling superpage mapping and
promotion to "on". Reminded by: jhb Tested by: kris
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index f2705ba..67a485f 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -180,7 +180,7 @@ pt_entry_t pg_nx;
SYSCTL_NODE(_vm, OID_AUTO, pmap, CTLFLAG_RD, 0, "VM/pmap parameters");
-static int pg_ps_enabled;
+static int pg_ps_enabled = 1;
SYSCTL_INT(_vm_pmap, OID_AUTO, pg_ps_enabled, CTLFLAG_RD, &pg_ps_enabled, 0,
"Are large page mappings enabled?");
OpenPOWER on IntegriCloud