From bda39c37f1a9b699d0bbdccf5a102be509acf110 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 1 Feb 2010 17:36:48 +0000 Subject: [PATCH] Change the default value for the flag enabling superpage mapping and promotion to "on". --- sys/i386/i386/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 0c2933a55c1..bd3376c64a4 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -217,7 +217,7 @@ static int pat_works = 0; /* Is page attribute table sane? */ 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_RDTUN, &pg_ps_enabled, 0, "Are large page mappings enabled?");