svn commit: r185715 - head/sys/amd64/amd64
Alan Cox
alc at FreeBSD.org
Sat Dec 6 11:37:53 PST 2008
Author: alc
Date: Sat Dec 6 19:37:52 2008
New Revision: 185715
URL: http://svn.freebsd.org/changeset/base/185715
Log:
Change the default value for the flag enabling superpage mapping and
promotion to "on".
Reminded by: jhb
Tested by: kris
Modified:
head/sys/amd64/amd64/pmap.c
Modified: head/sys/amd64/amd64/pmap.c
==============================================================================
--- head/sys/amd64/amd64/pmap.c Sat Dec 6 19:21:56 2008 (r185714)
+++ head/sys/amd64/amd64/pmap.c Sat Dec 6 19:37:52 2008 (r185715)
@@ -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?");
More information about the svn-src-all
mailing list