Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2009 15:24:37 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r200261 - in stable/7/sys: amd64/amd64 i386/i386
Message-ID:  <200912081524.nB8FOblF091900@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Tue Dec  8 15:24:37 2009
New Revision: 200261
URL: http://svn.freebsd.org/changeset/base/200261

Log:
  MFC r199184: reflect that pg_ps_enabled is a tunable

Modified:
  stable/7/sys/amd64/amd64/pmap.c
  stable/7/sys/i386/i386/pmap.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/amd64/amd64/pmap.c
==============================================================================
--- stable/7/sys/amd64/amd64/pmap.c	Tue Dec  8 15:21:39 2009	(r200260)
+++ stable/7/sys/amd64/amd64/pmap.c	Tue Dec  8 15:24:37 2009	(r200261)
@@ -181,7 +181,7 @@ pt_entry_t pg_nx;
 SYSCTL_NODE(_vm, OID_AUTO, pmap, CTLFLAG_RD, 0, "VM/pmap parameters");
 
 static int pg_ps_enabled;
-SYSCTL_INT(_vm_pmap, OID_AUTO, pg_ps_enabled, CTLFLAG_RD, &pg_ps_enabled, 0,
+SYSCTL_INT(_vm_pmap, OID_AUTO, pg_ps_enabled, CTLFLAG_RDTUN, &pg_ps_enabled, 0,
     "Are large page mappings enabled?");
 
 static u_int64_t	KPTphys;	/* phys addr of kernel level 1 */

Modified: stable/7/sys/i386/i386/pmap.c
==============================================================================
--- stable/7/sys/i386/i386/pmap.c	Tue Dec  8 15:21:39 2009	(r200260)
+++ stable/7/sys/i386/i386/pmap.c	Tue Dec  8 15:24:37 2009	(r200261)
@@ -214,7 +214,7 @@ static uma_zone_t pdptzone;
 SYSCTL_NODE(_vm, OID_AUTO, pmap, CTLFLAG_RD, 0, "VM/pmap parameters");
 
 static int pg_ps_enabled;
-SYSCTL_INT(_vm_pmap, OID_AUTO, pg_ps_enabled, CTLFLAG_RD, &pg_ps_enabled, 0,
+SYSCTL_INT(_vm_pmap, OID_AUTO, pg_ps_enabled, CTLFLAG_RDTUN, &pg_ps_enabled, 0,
     "Are large page mappings enabled?");
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912081524.nB8FOblF091900>