aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-05-01 11:24:38 -0400
committerAvi Kivity <avi@qumranet.com>2007-07-16 05:05:39 -0400
commit7494c0ccbb8fa0903bcb1ced89cc2b79c3624974 (patch)
tree356972d612a5dfba6422555b655f41db69d527a8 /drivers
parent0028425f647b6b78a0de8810d6b782fc3ce6c272 (diff)
KVM: Increase mmu shadow cache to 1024 pages
This improves kbuild times by about 10%, bringing it within a respectable 25% of native. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/kvm/kvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index 11c519e8085a..f6ee18928722 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -54,7 +54,7 @@
54#define KVM_MAX_VCPUS 1 54#define KVM_MAX_VCPUS 1
55#define KVM_ALIAS_SLOTS 4 55#define KVM_ALIAS_SLOTS 4
56#define KVM_MEMORY_SLOTS 4 56#define KVM_MEMORY_SLOTS 4
57#define KVM_NUM_MMU_PAGES 256 57#define KVM_NUM_MMU_PAGES 1024
58#define KVM_MIN_FREE_MMU_PAGES 5 58#define KVM_MIN_FREE_MMU_PAGES 5
59#define KVM_REFILL_PAGES 25 59#define KVM_REFILL_PAGES 25
60#define KVM_MAX_CPUID_ENTRIES 40 60#define KVM_MAX_CPUID_ENTRIES 40