On 30/06/2016 22:54, Radim Krčmář wrote: > x2APIC supports up to 2^32-1 LAPICs, but most guest in coming years will > have slighly less 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ář <[email protected]>
It's important to note another change here, which is that you start using the phys_map for x2apic clustered mode. It's so important that you could make it a separate patch while keeping the phys_map static! :) Paolo

