[PATCH 2/3] KVM: arm/arm64: Fix userspace_irqchip_in_use counting

Marc Zyngier marc.zyngier at arm.com
Wed Jan 31 01:00:04 PST 2018


On 30/01/18 12:42, Christoffer Dall wrote:
> We were not decrementing the static key count in the right location.
> kvm_arch_vcpu_destroy() is only called to clean up after a failed
> VCPU create attempt, whereas kvm_arch_vcpu_free() is called on teardown
> of the VM as well.  Move the static key decrement call to
> kvm_arch_vcpu_free().
> 
> Signed-off-by: Christoffer Dall <christoffer.dall at linaro.org>

Acked-by: Marc Zyngier <marc.zyngier at arm.com>

	N,
-- 
Jazz is not dead. It just smells funny...



More information about the linux-arm-kernel mailing list