diff options
author | Wei Yang <[email protected]> | 2018-09-04 23:57:32 +0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2018-10-17 00:29:41 +0200 |
commit | daefb7949e661e2ee5e40dc5ca51e5bf42f6c823 (patch) | |
tree | 842fc16de750cb7fe0105bf05cfc8f64484cd74c /arch/x86/kvm/lapic.c | |
parent | 55c1dcd80bdf0e9cf30a963fffd3131145f26938 (diff) |
KVM: x86: return 0 in case kvm_mmu_memory_cache has min number of objects
The code tries to pre-allocate *min* number of objects, so it is ok to
return 0 when the kvm_mmu_memory_cache meets the requirement.
Signed-off-by: Wei Yang <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'arch/x86/kvm/lapic.c')
0 files changed, 0 insertions, 0 deletions