Superpages by default

Zbigniew Bodek zbb at freebsd.org
Wed May 14 18:12:51 UTC 2014


Hello all,

Since we have SMP fixed and it seems that there are no more known bugs
in ARM superpages then we could enable superpages by default.
I'm attaching the patch that is to be committed to make that happen.

If you are not using superpages on your ARM platforms, I will
appreciate if you could try them out on the current HEAD and report
any negative experience.

If there are no objections then I would like to enable this feature in
a week from now.

Thanks and best regards
zbb
-------------- next part --------------
diff --git a/sys/arm/arm/pmap-v6.c b/sys/arm/arm/pmap-v6.c
index cde208b..9348ee5 100644
--- a/sys/arm/arm/pmap-v6.c
+++ b/sys/arm/arm/pmap-v6.c
@@ -463,7 +463,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?");
 


More information about the freebsd-arm mailing list