diff options
author | alc <alc@FreeBSD.org> | 2008-12-06 19:37:52 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2008-12-06 19:37:52 +0000 |
commit | 071a9996a4d25758c7b4d67922568d5356452a3c (patch) | |
tree | 2c2eecdd867430ae2adeb7f3abe03e035fcc18cb /sys/amd64 | |
parent | e50dcd29223a660dbc3857b80b62aa779bb8f068 (diff) | |
download | FreeBSD-src-071a9996a4d25758c7b4d67922568d5356452a3c.zip FreeBSD-src-071a9996a4d25758c7b4d67922568d5356452a3c.tar.gz |
Change the default value for the flag enabling superpage mapping and
promotion to "on".
Reminded by: jhb
Tested by: kris
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index f2705ba..67a485f 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -180,7 +180,7 @@ pt_entry_t pg_nx; SYSCTL_NODE(_vm, OID_AUTO, pmap, CTLFLAG_RD, 0, "VM/pmap parameters"); -static int pg_ps_enabled; +static int pg_ps_enabled = 1; SYSCTL_INT(_vm_pmap, OID_AUTO, pg_ps_enabled, CTLFLAG_RD, &pg_ps_enabled, 0, "Are large page mappings enabled?"); |