From owner-svn-src-head@FreeBSD.ORG Sat May 24 22:46:01 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B26D860; Sat, 24 May 2014 22:46:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5910C248A; Sat, 24 May 2014 22:46:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4OMk1VH053561; Sat, 24 May 2014 22:46:01 GMT (envelope-from zbb@svn.freebsd.org) Received: (from zbb@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4OMk1nB053560; Sat, 24 May 2014 22:46:01 GMT (envelope-from zbb@svn.freebsd.org) Message-Id: <201405242246.s4OMk1nB053560@svn.freebsd.org> From: Zbigniew Bodek Date: Sat, 24 May 2014 22:46:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266631 - head/sys/arm/arm X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2014 22:46:01 -0000 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?");