summaryrefslogtreecommitdiff
path: root/fs/dlm/dlm_internal.h
diff options
context:
space:
mode:
authorRadim Krčmář <rkrcmar@redhat.com>2016-07-12 22:09:20 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-07-14 09:03:53 +0200
commit0ca52e7b81a37260c7edb823c8ac6a49c6280b5e (patch)
tree6116f41d00673db8be0280dfca84dfb274da8096 /fs/dlm/dlm_internal.h
parente45115b62f9abb143a03036dbde05faf5864aa01 (diff)
downloadlinux-0ca52e7b81a37260c7edb823c8ac6a49c6280b5e.tar.gz
KVM: x86: dynamic kvm_apic_map
x2APIC supports up to 2^32-1 LAPICs, but most guest in coming years will probably has fewer VCPUs. Dynamic size saves memory at the cost of turning one constant into a variable. apic_map mutex had to be moved before allocation to avoid races with cpu hotplug. Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'fs/dlm/dlm_internal.h')
0 files changed, 0 insertions, 0 deletions