kernel - set machdep.pmap_mmu_optimize to 1 by default in master
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 13 Oct 2012 17:16:04 +0000 (10:16 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 13 Oct 2012 17:16:04 +0000 (10:16 -0700)
* Set machdep.pmap_mmu_optimize to 1 by default in master.

* Note that the sysctl will be left defaulted to 0 in the 3.2 release
  because it is too new a feature.  However, we believe it to be stable.

sys/platform/pc64/x86_64/pmap.c

index 0f6a248..1aea8aa 100644 (file)
@@ -211,7 +211,7 @@ static caddr_t crashdumpmap;
 static int pmap_yield_count = 64;
 SYSCTL_INT(_machdep, OID_AUTO, pmap_yield_count, CTLFLAG_RW,
     &pmap_yield_count, 0, "Yield during init_pt/release");
-static int pmap_mmu_optimize = 0;
+static int pmap_mmu_optimize = 1;
 SYSCTL_INT(_machdep, OID_AUTO, pmap_mmu_optimize, CTLFLAG_RW,
     &pmap_mmu_optimize, 0, "Share page table pages when possible");