diff options
author | zbb <zbb@FreeBSD.org> | 2014-05-24 22:46:00 +0000 |
---|---|---|
committer | zbb <zbb@FreeBSD.org> | 2014-05-24 22:46:00 +0000 |
commit | 75eadcdacf2b5f0dc80b3adb8f91fc71cb1c62cc (patch) | |
tree | 31341d1ca78b3679447c96ff45d18abf60f2fe23 | |
parent | 8ba34e61795cbc536dcd3d7af457914f26bf1a8d (diff) | |
download | FreeBSD-src-75eadcdacf2b5f0dc80b3adb8f91fc71cb1c62cc.zip FreeBSD-src-75eadcdacf2b5f0dc80b3adb8f91fc71cb1c62cc.tar.gz |
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
-rw-r--r-- | sys/arm/arm/pmap-v6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/pmap-v6.c b/sys/arm/arm/pmap-v6.c index 5e75e52..57300ef 100644 --- a/sys/arm/arm/pmap-v6.c +++ b/sys/arm/arm/pmap-v6.c @@ -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?"); |