Permalink
Browse files

kernel - set machdep.pmap_mmu_optimize to 1 by default in master

* 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.
  • Loading branch information...
1 parent 68a23be commit 1781bef05acacfbf18a90df04be2a4226d7df5f5 Matthew Dillon committed Oct 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sys/platform/pc64/x86_64/pmap.c
View
2 sys/platform/pc64/x86_64/pmap.c
@@ -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");

0 comments on commit 1781bef

Please sign in to comment.