svn commit: r203073 - stable/7/sys/amd64/amd64

John Baldwin jhb at FreeBSD.org
Wed Jan 27 15:29:09 UTC 2010


Author: jhb
Date: Wed Jan 27 15:29:09 2010
New Revision: 203073
URL: http://svn.freebsd.org/changeset/base/203073

Log:
  MFC 185715:
  Change the default value for the flag enabling superpage mapping and
  promotion to "on".
  
  Approved by:	re (kib)

Modified:
  stable/7/sys/amd64/amd64/pmap.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/amd64/amd64/pmap.c
==============================================================================
--- stable/7/sys/amd64/amd64/pmap.c	Wed Jan 27 15:22:20 2010	(r203072)
+++ stable/7/sys/amd64/amd64/pmap.c	Wed Jan 27 15:29:09 2010	(r203073)
@@ -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_RDTUN, &pg_ps_enabled, 0,
     "Are large page mappings enabled?");
 


More information about the svn-src-stable mailing list