aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-04-15 09:31:09 -0400
committerAvi Kivity <avi@qumranet.com>2007-05-03 03:52:29 -0400
commitb5a33a75720c03d58d8281a72b45ffd214f00ed7 (patch)
tree7451b196f292eb96caf5173ad3c6459ab9efb1d7 /drivers/kvm/kvm.h
parent417726a3fbecb2092f1054bbaee87bc442b05ef3 (diff)
KVM: Use slab caches to allocate mmu data structures
Better leak detection, statistics, memory use, speed -- goodness all around. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r--drivers/kvm/kvm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index fceeb840a255..b9c318a9e334 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -433,6 +433,9 @@ extern struct kvm_arch_ops *kvm_arch_ops;
433int kvm_init_arch(struct kvm_arch_ops *ops, struct module *module); 433int kvm_init_arch(struct kvm_arch_ops *ops, struct module *module);
434void kvm_exit_arch(void); 434void kvm_exit_arch(void);
435 435
436int kvm_mmu_module_init(void);
437void kvm_mmu_module_exit(void);
438
436void kvm_mmu_destroy(struct kvm_vcpu *vcpu); 439void kvm_mmu_destroy(struct kvm_vcpu *vcpu);
437int kvm_mmu_create(struct kvm_vcpu *vcpu); 440int kvm_mmu_create(struct kvm_vcpu *vcpu);
438int kvm_mmu_setup(struct kvm_vcpu *vcpu); 441int kvm_mmu_setup(struct kvm_vcpu *vcpu);