aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/lapic.c
diff options
context:
space:
mode:
authorWei Yang <[email protected]>2018-09-04 23:57:32 +0800
committerPaolo Bonzini <[email protected]>2018-10-17 00:29:41 +0200
commitdaefb7949e661e2ee5e40dc5ca51e5bf42f6c823 (patch)
tree842fc16de750cb7fe0105bf05cfc8f64484cd74c /arch/x86/kvm/lapic.c
parent55c1dcd80bdf0e9cf30a963fffd3131145f26938 (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