From e0d315046b8c3cdfc3bd2bb54a81f5c4b580e1eb Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 6 Dec 2008 19:37:52 +0000 Subject: [PATCH] Change the default value for the flag enabling superpage mapping and promotion to "on". Reminded by: jhb Tested by: kris --- sys/amd64/amd64/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index f2705ba7531d..67a485fe94aa 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?");