]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
KVM: Increase mmu shadow cache to 1024 pages
authorAvi Kivity <avi@qumranet.com>
Tue, 1 May 2007 15:24:38 +0000 (18:24 +0300)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:39 +0000 (12:05 +0300)
This improves kbuild times by about 10%, bringing it within a respectable
25% of native.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h

index 11c519e8085a21ed5160e2b4847ac48c491de15a..f6ee18928722a3bc5dca4bc956895a3d4e140c7c 100644 (file)
@@ -54,7 +54,7 @@
 #define KVM_MAX_VCPUS 1
 #define KVM_ALIAS_SLOTS 4
 #define KVM_MEMORY_SLOTS 4
-#define KVM_NUM_MMU_PAGES 256
+#define KVM_NUM_MMU_PAGES 1024
 #define KVM_MIN_FREE_MMU_PAGES 5
 #define KVM_REFILL_PAGES 25
 #define KVM_MAX_CPUID_ENTRIES 40