svn commit: r305391 - head/sys/arm64/arm64
Andrew Turner
andrew at FreeBSD.org
Sun Sep 4 17:50:24 UTC 2016
Author: andrew
Date: Sun Sep 4 17:50:23 2016
New Revision: 305391
URL: https://svnweb.freebsd.org/changeset/base/305391
Log:
Enable superpages on arm64 by default. These seem to be stable, having
survived multiple world and kernel builds, and of poudriere building full
package sets.
I have observed a 3% reduction in buildworld times with superpages enabled,
however further testing is needed to see if this is observed in other
workloads.
Obtained from: ABT Systems Ltd
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/arm64/arm64/pmap.c
Modified: head/sys/arm64/arm64/pmap.c
==============================================================================
--- head/sys/arm64/arm64/pmap.c Sun Sep 4 17:26:42 2016 (r305390)
+++ head/sys/arm64/arm64/pmap.c Sun Sep 4 17:50:23 2016 (r305391)
@@ -242,7 +242,7 @@ extern pt_entry_t pagetable_dmap[];
static SYSCTL_NODE(_vm, OID_AUTO, pmap, CTLFLAG_RD, 0, "VM/pmap parameters");
-static int superpages_enabled = 0;
+static int superpages_enabled = 1;
SYSCTL_INT(_vm_pmap, OID_AUTO, superpages_enabled,
CTLFLAG_RDTUN | CTLFLAG_NOFETCH, &superpages_enabled, 0,
"Are large page mappings enabled?");
More information about the svn-src-all
mailing list