Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2014 22:46:01 +0000 (UTC)
From:      Zbigniew Bodek <zbb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266631 - head/sys/arm/arm
Message-ID:  <201405242246.s4OMk1nB053560@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zbb
Date: Sat May 24 22:46:00 2014
New Revision: 266631
URL: http://svnweb.freebsd.org/changeset/base/266631

Log:
  Enable automatic superpages promotion by default on ARMv6/v7
  
  From now on superpages are enabled by default on ARM.
  One can still disable superpages utilization by adding:
  
  vm.pmap.sp_enabled=0
  
  to loader.conf

Modified:
  head/sys/arm/arm/pmap-v6.c

Modified: head/sys/arm/arm/pmap-v6.c
==============================================================================
--- head/sys/arm/arm/pmap-v6.c	Sat May 24 22:27:31 2014	(r266630)
+++ head/sys/arm/arm/pmap-v6.c	Sat May 24 22:46:00 2014	(r266631)
@@ -464,7 +464,7 @@ static const uint32_t pc_freemask[_NPCM]
 static SYSCTL_NODE(_vm, OID_AUTO, pmap, CTLFLAG_RD, 0, "VM/pmap parameters");
 
 /* Superpages utilization enabled = 1 / disabled = 0 */
-static int sp_enabled = 0;
+static int sp_enabled = 1;
 SYSCTL_INT(_vm_pmap, OID_AUTO, sp_enabled, CTLFLAG_RDTUN, &sp_enabled, 0,
     "Are large page mappings enabled?");
 



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