Re: [PATCH v3 2/9] arm/arm64: KVM: vgic: switch to dynamic allocation

2014-08-05 Thread Christoffer Dall
On Tue, Jul 08, 2014 at 12:09:01PM +0100, Marc Zyngier wrote: So far, all the VGIC data structures are statically defined by the *maximum* number of vcpus and interrupts it supports. It means that we always have to oversize it to cater for the worse case. Start by changing the data

[PATCH v3 2/9] arm/arm64: KVM: vgic: switch to dynamic allocation

2014-07-08 Thread Marc Zyngier
So far, all the VGIC data structures are statically defined by the *maximum* number of vcpus and interrupts it supports. It means that we always have to oversize it to cater for the worse case. Start by changing the data structures to be dynamically sizeable, and allocate them at runtime. The