diff options
author | Avi Kivity <avi@qumranet.com> | 2007-04-15 09:31:09 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-05-03 03:52:29 -0400 |
commit | b5a33a75720c03d58d8281a72b45ffd214f00ed7 (patch) | |
tree | 7451b196f292eb96caf5173ad3c6459ab9efb1d7 /drivers/kvm/kvm.h | |
parent | 417726a3fbecb2092f1054bbaee87bc442b05ef3 (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.h | 3 |
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; | |||
433 | int kvm_init_arch(struct kvm_arch_ops *ops, struct module *module); | 433 | int kvm_init_arch(struct kvm_arch_ops *ops, struct module *module); |
434 | void kvm_exit_arch(void); | 434 | void kvm_exit_arch(void); |
435 | 435 | ||
436 | int kvm_mmu_module_init(void); | ||
437 | void kvm_mmu_module_exit(void); | ||
438 | |||
436 | void kvm_mmu_destroy(struct kvm_vcpu *vcpu); | 439 | void kvm_mmu_destroy(struct kvm_vcpu *vcpu); |
437 | int kvm_mmu_create(struct kvm_vcpu *vcpu); | 440 | int kvm_mmu_create(struct kvm_vcpu *vcpu); |
438 | int kvm_mmu_setup(struct kvm_vcpu *vcpu); | 441 | int kvm_mmu_setup(struct kvm_vcpu *vcpu); |